Highlight.highlight does not mutate
This commit is contained in:
parent
8a675d184c
commit
eabecafa8d
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ pub extern "C" fn ts_highlighter_highlight(
|
|||
|
||||
impl TSHighlighter {
|
||||
fn highlight(
|
||||
&mut self,
|
||||
&self,
|
||||
source_code: &[u8],
|
||||
scope_name: &str,
|
||||
output: &mut TSHighlightBuffer,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue