Skip to content

Commit

Permalink
clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Patro committed Feb 14, 2022
1 parent d7b6ec4 commit 39bb698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/collate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ pub fn collate_with_temp(
let mut hdr_buf = Cursor::new(vec![0u8; pos as usize]);

rfile
.read_exact(&mut hdr_buf.get_mut())
.read_exact(hdr_buf.get_mut())
.expect("couldn't read input file header");
hdr_buf.set_position(take_pos);
hdr_buf
Expand Down

0 comments on commit 39bb698

Please sign in to comment.