mirror of
https://github.com/sharkdp/bat
synced 2024-11-23 20:33:06 +00:00
refactor: remove reference that is unnecessary
This commit is contained in:
parent
42153f2b99
commit
c290bfff1e
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ impl<'a> InteractivePrinter<'a> {
|
|||
// skip syntax highlighting on long lines
|
||||
let too_long = line.len() > 1024 * 16;
|
||||
|
||||
let for_highlighting: &str = if too_long { "\n" } else { &line };
|
||||
let for_highlighting: &str = if too_long { "\n" } else { line };
|
||||
|
||||
let mut highlighted_line = highlighter_from_set
|
||||
.highlighter
|
||||
|
|
Loading…
Reference in a new issue