diff --git a/src/assets.rs b/src/assets.rs index 220f9fc2..8ac682d0 100644 --- a/src/assets.rs +++ b/src/assets.rs @@ -104,7 +104,7 @@ impl HighlightingAssets { self.fallback_theme = Some(theme); } - pub(crate) fn get_syntax_set(&self) -> Result<&SyntaxSet> { + fn get_syntax_set(&self) -> Result<&SyntaxSet> { self.syntax_set_cell .try_borrow_with(|| self.serialized_syntax_set.deserialize()) }