fix warnings in tools

This commit is contained in:
Corwin 2023-01-06 18:27:02 +00:00
parent c78b4e62f2
commit e2580219c8

View file

@ -179,7 +179,7 @@ fn update_changelog(root_directory: &Path, new_version: &Version) -> Result<Stri
1,
);
std::fs::write(&changelog_file, &changelog_content)
std::fs::write(&changelog_file, changelog_content)
.map_err(|_| Error::FailedToWriteChangelog)?;
Ok(change_content)