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, )?;