Skip to content

Commit

Permalink
Make clippy happy again
Browse files Browse the repository at this point in the history
  • Loading branch information
popzxc committed Mar 31, 2020
1 parent b283e9e commit f952781
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/models/benches/criterion/primitives/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ fn bench_bit_iterator_le_next(b: &mut Bencher<'_>) {

b.iter_batched(
setup,
|mut bit_iterator| {
while let Some(_) = bit_iterator.next() {
|bit_iterator| {
for _ in bit_iterator {
// Do nothing, we're just draining the iterator.
}
},
Expand Down

0 comments on commit f952781

Please sign in to comment.