Skip to content

Commit

Permalink
Fix warnings from needless_borrow lint
Browse files Browse the repository at this point in the history
  • Loading branch information
cakebaker committed Oct 18, 2024
1 parent c70cc19 commit 1910cbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -851,12 +851,12 @@ mod cmp {

let a_path = tmp_dir.path().join("a");
let mut a = File::create(&a_path).unwrap();
a.write_all(&bytes).unwrap();
a.write_all(bytes).unwrap();
a.write_all(b"A").unwrap();

let b_path = tmp_dir.path().join("b");
let mut b = File::create(&b_path).unwrap();
b.write_all(&bytes).unwrap();
b.write_all(bytes).unwrap();
b.write_all(b"B").unwrap();

let mut cmd = Command::cargo_bin("diffutils")?;
Expand Down

0 comments on commit 1910cbf

Please sign in to comment.