Radish alpha
r
rad:z39mP9rQAaGmERfUMPULfPUi473tY
Radicle terminal user interface
Radicle
Git
bin/log: Inline format string variables where possible
Matthias Beyer committed 4 months ago
commit 6adf95d285e7a01f03319a6bb1456dc038ffc84f
parent 187f8e3
1 file changed +1 -1
modified 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,
            )?;