Skip to content

Commit

Permalink
Fixup clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
tfpk committed Dec 23, 2022
1 parent e362cf9 commit 13664c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/update_diff.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub fn update_diff(exercise: &str) -> Result<(), Box<dyn Error>> {
UnifiedDiffBuilder::new(&input),
);

let mut file = File::create(&exercise_diff_path)?;
let mut file = File::create(exercise_diff_path)?;
file.write_all(actual_diff.as_bytes())?;

Ok(())
Expand Down

0 comments on commit 13664c3

Please sign in to comment.