on master help sign in
cargo fmt
0331d28Martin Nordholts
src/assets.rs+1−5
@@ -120,11 +120,7 @@ impl HighlightingAssets {
120 }
120 }
121 }
121 }
122
122
123− Ok(HighlightingAssets::new(
123+ Ok(HighlightingAssets::new(Some(syntax_set), None, theme_set))
124− Some(syntax_set),
125− None,
126− theme_set,
127− ))
128 }
124 }
129
125
130 pub fn from_cache(cache_path: &Path) -> Result<Self> {
126 pub fn from_cache(cache_path: &Path) -> Result<Self> {