Skip to content

Commit 1910cbf

Browse files
committed
Fix warnings from needless_borrow lint
1 parent c70cc19 commit 1910cbf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -851,12 +851,12 @@ mod cmp {
851851

852852
let a_path = tmp_dir.path().join("a");
853853
let mut a = File::create(&a_path).unwrap();
854-
a.write_all(&bytes).unwrap();
854+
a.write_all(bytes).unwrap();
855855
a.write_all(b"A").unwrap();
856856

857857
let b_path = tmp_dir.path().join("b");
858858
let mut b = File::create(&b_path).unwrap();
859-
b.write_all(&bytes).unwrap();
859+
b.write_all(bytes).unwrap();
860860
b.write_all(b"B").unwrap();
861861

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

0 commit comments

Comments
 (0)