Skip to content

Commit

Permalink
fix: minor fix to satisfy clippy from Rust 1.73
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Zak <[email protected]>
  • Loading branch information
rjzak committed Oct 6, 2023
1 parent fa675a5 commit fb11da7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hasher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ impl Hasher for Murmur3Hasher {
}

fn write(&mut self, bytes: &[u8]) {
let mut copy = bytes.clone().to_vec();
let mut copy = bytes.to_vec();
self.bytes.append(&mut copy);
}
}
Expand Down

0 comments on commit fb11da7

Please sign in to comment.