1
0
mirror of https://github.com/sharkdp/bat synced 2026-07-19 16:23:20 +00:00

Fix clippy::needless_borrow warnings

This commit is contained in:
einfachIrgendwer0815
2025-01-30 18:20:25 +01:00
parent b009fee5ea
commit 3d442cdf98
+1 -1
View File
@@ -432,7 +432,7 @@ impl<'a> InteractivePrinter<'a> {
.highlight_line(for_highlighting, highlighter_from_set.syntax_set)?;
if too_long {
highlighted_line[0].1 = &line;
highlighted_line[0].1 = line;
}
Ok(highlighted_line)