Fix clippy warnings.

This commit fixes the current set of (stable) clippy warnings in the repo.
This commit is contained in:
Peter Huene
2019-10-23 23:15:42 -07:00
committed by Andrew Brown
parent 1176e4f178
commit 9f506692c2
93 changed files with 667 additions and 662 deletions

View File

@@ -79,7 +79,7 @@ pub fn magic_u32(d: u32) -> MU32 {
MU32 {
mul_by: q2 + 1,
do_add: do_add,
do_add,
shift_by: p - 32,
}
}
@@ -125,7 +125,7 @@ pub fn magic_u64(d: u64) -> MU64 {
MU64 {
mul_by: q2 + 1,
do_add: do_add,
do_add,
shift_by: p - 64,
}
}