Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes (attempt 2/3)
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Dec 15, 2024
1 parent 053110b commit 2e12fa1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benches/operations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ fn bench_operations(c: &mut Criterion) {
// Benchmark from_iter operation
c.benchmark_group("from_iter")
.bench_function("Chunk", |b| {
b.iter(|| Chunk::from_iter((0..N)));
b.iter(|| Chunk::from_iter(0..N));
})
.bench_function("Vec", |b| b.iter(|| Vec::from_iter((0..N))));
.bench_function("Vec", |b| b.iter(|| Vec::from_iter(0..N)));
}

criterion_group!(benches, bench_operations);
Expand Down

0 comments on commit 2e12fa1

Please sign in to comment.