Skip to content

Commit

Permalink
refactor(clippy): apply clippy suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Mar 2, 2024
1 parent 8ee0da1 commit df57336
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-cliff/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ pub fn run(mut args: Opt) -> Result<()> {
};
}
if let Some(ref path) = args.prepend {
changelog.prepend(fs::read_to_string(&path)?, &mut File::create(path)?)?;
changelog.prepend(fs::read_to_string(path)?, &mut File::create(path)?)?;
}
if let Some(path) = args.output {
let mut output = File::create(path)?;
Expand Down

0 comments on commit df57336

Please sign in to comment.