bin/state: Inline format string variables where possible

Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
Matthias Beyer
2025-12-09 13:17:57 +01:00
committed by Erik Kundt
parent c528551689
commit 187f8e3611
+1 -1
View File
@@ -49,7 +49,7 @@ impl FileStore {
Some(home) => format!("{}/{}", home.to_string_lossy(), PATH),
_ => anyhow::bail!("Failed to read home directory"),
};
let path = format!("{}/{}.json", folder, filename.to_string());
let path = format!("{folder}/{}.json", filename.to_string());
fs::create_dir_all(folder.clone())?;