Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'xtask/src/release.rs')
-rw-r--r--xtask/src/release.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/xtask/src/release.rs b/xtask/src/release.rs
index eda8fceef0..4a30691477 100644
--- a/xtask/src/release.rs
+++ b/xtask/src/release.rs
@@ -64,8 +64,8 @@ impl flags::Release {
let prev_tag = tags.lines().filter(|line| is_release_tag(line)).last().unwrap();
let contents = changelog::get_changelog(sh, changelog_n, &commit, prev_tag, &today)?;
- let path = changelog_dir.join(format!("{}-changelog-{}.adoc", today, changelog_n));
- sh.write_file(&path, &contents)?;
+ let path = changelog_dir.join(format!("{today}-changelog-{changelog_n}.adoc"));
+ sh.write_file(path, contents)?;
Ok(())
}