chore: Inlined format args

Signed-off-by: Awiteb <a@4rs.nl>
This commit is contained in:
Awiteb
2025-07-05 08:45:13 +00:00
parent 1c11b8f6bb
commit 3814d1b4ec

View File

@@ -200,7 +200,7 @@ impl GitPatch {
Ok(parent Ok(parent
.as_ref() .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")) .with_extension("patch"))
} }
} }