HighlightingAssets::get_syntax_set(): Make private

Was forgotten in aefc8fd824.
This commit is contained in:
Martin Nordholts 2021-09-30 08:00:37 +02:00
parent 619cf6e6d6
commit e79b07bf5e

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())
}