HighlightingAssets::get_syntax_set(): Make private

Was forgotten in aefc8fd824.
This commit is contained in:
Martin Nordholts committed 2021-11-22 20:42:01 +01:00
1 parent 619cf6e6d6
commit e79b07bf5e
1 file changed
+1 -1
+1 -1
View File
@@ -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())
}