HighlightingAssets::get_syntax_set(): Make private
Was forgotten in aefc8fd824.
This commit is contained in:
1 parent
619cf6e6d6
commit
e79b07bf5e
1 file changed
+1
-1
+1
-1
@@ -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())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user