mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-29 09:48:52 +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::ffi::OsStr;
|
||||||
use std::fs;
|
use std::fs;
|
||||||
use std::path::{Path, PathBuf};
|
use std::path::{Path, PathBuf};
|
||||||
@ -77,9 +76,7 @@ impl HighlightingAssets {
|
|||||||
let mut theme_set = if include_integrated_assets {
|
let mut theme_set = if include_integrated_assets {
|
||||||
get_integrated_themeset()
|
get_integrated_themeset()
|
||||||
} else {
|
} else {
|
||||||
ThemeSet {
|
ThemeSet::new()
|
||||||
themes: BTreeMap::new(),
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
let theme_dir = source_dir.join("themes");
|
let theme_dir = source_dir.join("themes");
|
||||||
|
Loading…
Reference in New Issue
Block a user