src/assets.rs: Use ThemeSet::new() instead of BTreeMap::new()
commitdeddc81426b155531cade6e755679c88f5bb8e8f
authorMartin Nordholts <enselic@gmail.com>
dateTue 10 Aug 2021, 22:17 (5 years ago)
parent699f1e6
src/assets.rs+1−4
@@ -1,4 +1,3 @@
1−use std::collections::BTreeMap;
21use std::ffi::OsStr;
32use std::fs;
43use std::path::{Path, PathBuf};
@@ -77,9 +76,7 @@ impl HighlightingAssets {
7776 let mut theme_set = if include_integrated_assets {
7877 get_integrated_themeset()
7978 } else {
80− ThemeSet {
81− themes: BTreeMap::new(),
82− }
79+ ThemeSet::new()
8380 };
8481
8582 let theme_dir = source_dir.join("themes");