Skip to content

Commit bc71780

Browse files
authored
chore(header): fix clippy::assign_op_pattern (#806)
1 parent b9625d8 commit bc71780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/header/map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3693,7 +3693,7 @@ impl std::hash::Hasher for FnvHasher {
36933693
fn write(&mut self, bytes: &[u8]) {
36943694
let mut hash = self.0;
36953695
for &b in bytes {
3696-
hash = hash ^ (b as u64);
3696+
hash ^= b as u64;
36973697
hash = hash.wrapping_mul(0x100000001b3);
36983698
}
36993699
self.0 = hash;

0 commit comments

Comments
 (0)