From 3814d1b4ec6c73d03c7a706c96269b5bb74ce1c7 Mon Sep 17 00:00:00 2001 From: Awiteb Date: Sat, 5 Jul 2025 08:45:13 +0000 Subject: [PATCH] chore: Inlined format args Signed-off-by: Awiteb --- src/cli/commands/patch/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/commands/patch/mod.rs b/src/cli/commands/patch/mod.rs index 236820a..da75bc3 100644 --- a/src/cli/commands/patch/mod.rs +++ b/src/cli/commands/patch/mod.rs @@ -200,7 +200,7 @@ impl GitPatch { Ok(parent .as_ref() - .join(format!("{patch_version}{:0>4}-{patch_name}", patch_number).replace("--", "-")) + .join(format!("{patch_version}{patch_number:0>4}-{patch_name}").replace("--", "-")) .with_extension("patch")) } }