From deddc81426b155531cade6e755679c88f5bb8e8f Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Tue, 10 Aug 2021 22:17:44 +0200 Subject: [PATCH] src/assets.rs: Use ThemeSet::new() instead of BTreeMap::new() --- src/assets.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/assets.rs b/src/assets.rs index ba60274..0d11e9f 100644 --- a/src/assets.rs +++ b/src/assets.rs @@ -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");