Skip to content

Commit

Permalink
allow unit arg in clippy for benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
jofas committed Aug 4, 2022
1 parent c0223b6 commit 3680d03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions benches/benches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ fn reapeatedly_allocate_map() {
}
}

#[allow(clippy::unit_arg)]
fn bench_map_allocation(c: &mut Criterion) {
c.bench_function(
"map allocation",
Expand Down

0 comments on commit 3680d03

Please sign in to comment.