diff options
Diffstat (limited to 'src/util/time.rs')
-rw-r--r-- | src/util/time.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/time.rs b/src/util/time.rs index b8a85e6..679d1b4 100644 --- a/src/util/time.rs +++ b/src/util/time.rs @@ -31,9 +31,9 @@ pub fn pp_duration(seconds: u64) -> String { fn plural(n: u64, str: &str) -> String { if n <= 1 { - format!("{} {}", n, str) + format!("{n} {str}") } else { - format!("{} {}s", n, str) + format!("{n} {str}s") } } |