Skip to content

Commit

Permalink
Flix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
maurolacy committed Jan 3, 2022
1 parent 24f7aad commit 9905694
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions packages/storage-plus/benches/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ fn bench_signed_int_key(c: &mut Criterion) {
fn k() -> i32 {
// let k: i32 = 0x42434445;
// k
let r = rand::thread_rng().gen_range(i32::MIN..i32::MAX);
r
rand::thread_rng().gen_range(i32::MIN..i32::MAX)
}
// For the asserts
let k_check = k();
Expand Down Expand Up @@ -103,8 +102,7 @@ fn bench_unsigned_int_key(c: &mut Criterion) {
fn k() -> u32 {
// let k: u32 = 0x42434445;
// k
let r = rand::thread_rng().gen_range(u32::MIN..u32::MAX);
r
rand::thread_rng().gen_range(u32::MIN..u32::MAX)
}
// For the asserts
let k_check = k();
Expand Down

0 comments on commit 9905694

Please sign in to comment.