aboutsummaryrefslogtreecommitdiff
path: root/src/output
diff options
context:
space:
mode:
authorDaniel <kingdread@gmx.de>2020-05-12 14:22:37 +0200
committerDaniel <kingdread@gmx.de>2020-05-12 14:22:37 +0200
commitc659aedf97352d2584a439ffdb36f0f0ff76db8e (patch)
tree3d294770ccfb3c170a2d9dcfc6cdee17c913e837 /src/output
parentb2e87338ff60851db8326abf50555bf65b311810 (diff)
downloadraidgrep-c659aedf97352d2584a439ffdb36f0f0ff76db8e.tar.gz
raidgrep-c659aedf97352d2584a439ffdb36f0f0ff76db8e.tar.bz2
raidgrep-c659aedf97352d2584a439ffdb36f0f0ff76db8e.zip
fix formatting
Diffstat (limited to 'src/output')
-rw-r--r--src/output/formats.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/output/formats.rs b/src/output/formats.rs
index e7008ee..51de033 100644
--- a/src/output/formats.rs
+++ b/src/output/formats.rs
@@ -42,7 +42,9 @@ impl Format for HumanReadable {
.with_timezone(&Local)
.format("%Y-%m-%d %H:%M:%S %a"),
"Boss".green(),
- item.boss.map(|x| x.to_string()).unwrap_or_else(|| "unknown".into()),
+ item.boss
+ .map(|x| x.to_string())
+ .unwrap_or_else(|| "unknown".into()),
if item.is_cm { " CM" } else { "" },
outcome,
)