From 331dbac270273889111a3cd4bb73d16eeaf5ebde Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 12 May 2020 14:03:57 +0200 Subject: use Display implementations from evtclib --- src/output/formats.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/output/formats.rs') diff --git a/src/output/formats.rs b/src/output/formats.rs index 203502a..e7008ee 100644 --- a/src/output/formats.rs +++ b/src/output/formats.rs @@ -42,7 +42,7 @@ impl Format for HumanReadable { .with_timezone(&Local) .format("%Y-%m-%d %H:%M:%S %a"), "Boss".green(), - item.boss_name, + item.boss.map(|x| x.to_string()).unwrap_or_else(|| "unknown".into()), if item.is_cm { " CM" } else { "" }, outcome, ) -- cgit v1.2.3