mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-28 17:28:49 +01:00
src/assets.rs: Use ThemeSet::new() instead of BTreeMap::new()
This commit is contained in:
parent
699f1e65cc
commit
deddc81426
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user