mirror of
https://github.com/sharkdp/bat.git
synced 2024-12-27 00:38:52 +01:00
HighlightingAssets::get_syntax_set(): Make private
Was forgotten in aefc8fd824
.
This commit is contained in:
parent
619cf6e6d6
commit
e79b07bf5e
@ -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())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user