Fix unnecessary to_string call in changelog tool
This commit is contained in:
parent
4626e86d54
commit
7f5b6261c6
1 changed files with 1 additions and 4 deletions
|
|
@ -118,10 +118,7 @@ impl Changelog {
|
|||
return Err(Error::InvalidFormat);
|
||||
};
|
||||
|
||||
let unreleased = format!(
|
||||
"\n## [Unreleased]\n{changelog}",
|
||||
changelog = self.to_string()
|
||||
);
|
||||
let unreleased = format!("\n## [Unreleased]\n{self}");
|
||||
|
||||
let rest = format!("\n## {rest}");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue