mirror of
https://seed.radicle.dev/rad:z39mP9rQAaGmERfUMPULfPUi473tY.git
synced 2026-11-21 18:40:46 +08:00
bin/state: Inline format string variables where possible
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
This commit is contained in:
committed by
Erik Kundt
parent
c528551689
commit
187f8e3611
+1
-1
@@ -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())?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user