From 6adf95d285e7a01f03319a6bb1456dc038ffc84f Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 20 Aug 2025 15:10:11 +0200 Subject: [PATCH] bin/log: Inline format string variables where possible Signed-off-by: Matthias Beyer --- bin/log.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/log.rs b/bin/log.rs index 4e0fd334..f2eff04b 100644 --- a/bin/log.rs +++ b/bin/log.rs @@ -21,7 +21,7 @@ pub fn enable() -> Result<(), anyhow::Error> { fs::create_dir_all(path.clone())?; simple_logging::log_to_file( - format!("{}/{}{}.log", path, PREFIX, now.as_millis()), + format!("{path}/{PREFIX}{}.log", now.as_millis()), LevelFilter::Info, )?;