mirror of
https://github.com/sharkdp/bat
synced 2026-07-29 18:01:43 +00:00
fix some clippy warnings
This commit is contained in:
+1
-1
@@ -311,7 +311,7 @@ impl<'a> Printer for InteractivePrinter<'a> {
|
||||
description
|
||||
.kind()
|
||||
.map(|kind| format!("{}: ", kind))
|
||||
.unwrap_or("".into()),
|
||||
.unwrap_or_else(|| "".into()),
|
||||
self.colors.filename.paint(description.title()),
|
||||
mode
|
||||
)?;
|
||||
|
||||
Reference in New Issue
Block a user