summaryrefslogtreecommitdiffstats
path: root/src/output/lines.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/lines.rs')
-rw-r--r--src/output/lines.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/lines.rs b/src/output/lines.rs
index 22407c2..c92e9e4 100644
--- a/src/output/lines.rs
+++ b/src/output/lines.rs
@@ -28,7 +28,7 @@ impl<'a> Render<'a> {
if self.opts.icons {
// Create a TextCell for the icon then append the text to it
let mut cell = TextCell::default();
- let icon = painted_icon(&file, self.style);
+ let icon = painted_icon(file, self.style);
cell.push(ANSIGenericString::from(icon), 2);
cell.append(name_cell.promote());
writeln!(w, "{}", ANSIStrings(&cell))?;