src/assets.rs: Use ThemeSet::new() instead of BTreeMap::new()

This commit is contained in:
Martin Nordholts 2021-08-10 22:17:44 +02:00
parent 699f1e65cc
commit deddc81426
1 changed files with 1 additions and 4 deletions

View File

@ -1,4 +1,3 @@
use std::collections::BTreeMap;
use std::ffi::OsStr;
use std::fs;
use std::path::{Path, PathBuf};
@ -77,9 +76,7 @@ impl HighlightingAssets {
let mut theme_set = if include_integrated_assets {
get_integrated_themeset()
} else {
ThemeSet {
themes: BTreeMap::new(),
}
ThemeSet::new()
};
let theme_dir = source_dir.join("themes");