fix lints in fish benches

This commit is contained in:
tali 2023-04-16 17:56:33 -04:00
parent a9b86e03c4
commit 082fa62add
2 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ fn benchmark(c: &mut Criterion) {
c.bench_with_input(
BenchmarkId::from_parameter(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();

View File

@ -70,7 +70,7 @@ fn benchmark(c: &mut Criterion) {
c.bench_with_input(
BenchmarkId::from_parameter(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();