mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 20:47:44 +02:00
&str -> Text
This commit is contained in:
@ -70,7 +70,7 @@ impl Highlighter for Helper {
|
||||
|
||||
match iter.next() {
|
||||
None => return Cow::Owned(out),
|
||||
Some(v) => out.push_str(v.span().slice(line)),
|
||||
Some(v) => out.push_str(v.span().slice(&Text::from(line))),
|
||||
};
|
||||
|
||||
loop {
|
||||
|
Reference in New Issue
Block a user