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 c7cd578 commit 053110bCopy full SHA for 053110b
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).into_iter()));
+ b.iter(|| Chunk::from_iter((0..N)));
88
})
89
- .bench_function("Vec", |b| b.iter(|| Vec::from_iter((0..N).into_iter())));
+ .bench_function("Vec", |b| b.iter(|| Vec::from_iter((0..N))));
90
}
91
92
criterion_group!(benches, bench_operations);
0 commit comments