fix lints in fish benches
This commit is contained in:
parent
a9b86e03c4
commit
082fa62add
|
@ -68,7 +68,7 @@ fn benchmark(c: &mut Criterion) {
|
||||||
c.bench_with_input(
|
c.bench_with_input(
|
||||||
BenchmarkId::from_parameter(i),
|
BenchmarkId::from_parameter(i),
|
||||||
&(MATRIX[i], QUEUE[i]),
|
&(MATRIX[i], QUEUE[i]),
|
||||||
|b, (matrix, queue)| b.iter(|| find_locations(*matrix, *queue)),
|
|b, (matrix, queue)| b.iter(|| find_locations(matrix, *queue)),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
c.finish();
|
c.finish();
|
||||||
|
|
|
@ -70,7 +70,7 @@ fn benchmark(c: &mut Criterion) {
|
||||||
c.bench_with_input(
|
c.bench_with_input(
|
||||||
BenchmarkId::from_parameter(i),
|
BenchmarkId::from_parameter(i),
|
||||||
&(ITERS, Weights::default(), MATRIX[i], QUEUE[i]),
|
&(ITERS, Weights::default(), MATRIX[i], QUEUE[i]),
|
||||||
|b, (i, w, m, q)| b.iter(|| think(*i, w, *m, *q)),
|
|b, (i, w, m, q)| b.iter(|| think(*i, w, m, *q)),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
c.finish();
|
c.finish();
|
||||||
|
|
Loading…
Reference in New Issue