mirror of
https://github.com/sharkdp/bat.git
synced 2025-02-20 20:08:58 +00: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…
x
Reference in New Issue
Block a user