From 053110b8e77c207758eea543b4b9a5ac714b1285 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Sun, 15 Dec 2024 00:38:09 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- benches/operations.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/benches/operations.rs b/benches/operations.rs index c328412..e7263b8 100644 --- a/benches/operations.rs +++ b/benches/operations.rs @@ -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);