We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 053110b commit 2e12fa1Copy full SHA for 2e12fa1
benches/operations.rs
@@ -84,9 +84,9 @@ fn bench_operations(c: &mut Criterion) {
84
// Benchmark from_iter operation
85
c.benchmark_group("from_iter")
86
.bench_function("Chunk", |b| {
87
- b.iter(|| Chunk::from_iter((0..N)));
+ b.iter(|| Chunk::from_iter(0..N));
88
})
89
- .bench_function("Vec", |b| b.iter(|| Vec::from_iter((0..N))));
+ .bench_function("Vec", |b| b.iter(|| Vec::from_iter(0..N)));
90
}
91
92
criterion_group!(benches, bench_operations);
0 commit comments