From e79b07bf5ee7534d0857b604cf2766e71e82d83e Mon Sep 17 00:00:00 2001 From: Martin Nordholts Date: Thu, 30 Sep 2021 08:00:37 +0200 Subject: [PATCH] HighlightingAssets::get_syntax_set(): Make private Was forgotten in aefc8fd824. --- src/assets.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) }