mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 10:34:11 +02:00
clippy fixes
This commit is contained in:
parent
71f85bfe45
commit
5573ec5db2
8 changed files with 42 additions and 58 deletions
|
|
@ -15,7 +15,7 @@ impl ConstFnvHash {
|
|||
let mut i = 0;
|
||||
while i < bytes.len() {
|
||||
let byte = bytes[i];
|
||||
hash = hash ^ (byte as u64);
|
||||
hash ^= byte as u64;
|
||||
hash = hash.wrapping_mul(0x100000001b3);
|
||||
i += 1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue