Make HighlightConfiguration::configure use into iterator instead of a Vec<String>
This commit is contained in:
parent
12207c1f70
commit
9feca80b08
4 changed files with 10 additions and 6 deletions
|
|
@ -661,7 +661,7 @@ impl<'a> LanguageConfiguration<'a> {
|
|||
}
|
||||
}
|
||||
}
|
||||
result.configure(&all_highlight_names);
|
||||
result.configure(&all_highlight_names.as_slice());
|
||||
Ok(Some(result))
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue