From 187f8e3611452b1fef0432f8fdbc298f4e567dd9 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 20 Aug 2025 15:10:04 +0200 Subject: [PATCH] bin/state: Inline format string variables where possible Signed-off-by: Matthias Beyer --- bin/state.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/state.rs b/bin/state.rs index cf5c8e31..7dec3a7d 100644 --- a/bin/state.rs +++ b/bin/state.rs @@ -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())?;