fix clippy lints

This commit is contained in:
nora 2021-11-13 14:34:09 +01:00
parent 30472e36e7
commit b88ec9ac10
4 changed files with 61 additions and 42 deletions

View file

@ -37,7 +37,7 @@ fn create_random_packed_list_128(size: usize) -> PackedLinkedList<i32, 128> {
fn push_back(c: &mut Criterion) {
let mut group = c.benchmark_group("push_back");
for i in [100, 1_0000_00].iter() {
for i in [100, 1_000_000].iter() {
group.bench_with_input(BenchmarkId::new("create_random_list", i), i, |b, i| {
b.iter(|| create_random_list(*i))
});