Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Dec 15, 2024
1 parent c7cd578 commit 053110b
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).into_iter()));
b.iter(|| Chunk::from_iter((0..N)));
})
.bench_function("Vec", |b| b.iter(|| Vec::from_iter((0..N).into_iter())));
.bench_function("Vec", |b| b.iter(|| Vec::from_iter((0..N))));
}

criterion_group!(benches, bench_operations);
Expand Down

0 comments on commit 053110b

Please sign in to comment.