From 456c4fa18358493cca98fd3124e8d4a15bfd54ad Mon Sep 17 00:00:00 2001 From: jotabulacios Date: Fri, 29 Nov 2024 17:35:40 -0300 Subject: [PATCH] fix clippy redundant closure --- math/benches/fields/babybear.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/math/benches/fields/babybear.rs b/math/benches/fields/babybear.rs index a7a7afd02..6a1bc250f 100644 --- a/math/benches/fields/babybear.rs +++ b/math/benches/fields/babybear.rs @@ -242,7 +242,7 @@ pub fn babybear_extension_ops_benchmarks_p3(c: &mut Criterion) { let input_sizes = [1, 10, 100, 1000, 10000, 100000, 1000000]; let input: Vec> = input_sizes .into_iter() - .map(|size| rand_babybear_fp4_elements_p3(size)) + .map(rand_babybear_fp4_elements_p3) .collect::>(); let mut group = c.benchmark_group("BabyBear Fp4 operations using Plonky3");