This commit is contained in:
Jonathan Turner 2019-06-22 15:52:19 +12:00
parent 1c0096b2fb
commit 8cc91e05c4

View File

@ -56,8 +56,6 @@ impl Highlighter for Helper {
fn highlight<'l>(&self, line: &'l str, _pos: usize) -> Cow<'l, str> { fn highlight<'l>(&self, line: &'l str, _pos: usize) -> Cow<'l, str> {
return Cow::Borrowed(line);
let tokens = crate::parser::pipeline(nom_input(line)); let tokens = crate::parser::pipeline(nom_input(line));
match tokens { match tokens {