From 4c6a287f4d18161ed263bb37905edb2566f81245 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Fri, 16 Dec 2022 18:37:45 +0000 Subject: Switch to using ATUIN_LOG instead of RUST_LOG (#642) * Switch to using ATUIN_LOG instead of RUST_LOG * Stop clippy complaining * I should know better - clippy is never happy :( --- src/command/client/search/duration.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/command/client/search/duration.rs') diff --git a/src/command/client/search/duration.rs b/src/command/client/search/duration.rs index 3cdd4e83..1dc4245f 100644 --- a/src/command/client/search/duration.rs +++ b/src/command/client/search/duration.rs @@ -4,7 +4,7 @@ use std::{ops::ControlFlow, time::Duration}; pub fn format_duration(f: Duration) -> String { fn item(name: &str, value: u64) -> ControlFlow { if value > 0 { - ControlFlow::Break(format!("{}{}", value, name)) + ControlFlow::Break(format!("{value}{name}")) } else { ControlFlow::Continue(()) } -- cgit v1.3.1