From 9f8c3e7e31eab707808640faf33e35df8bf2cd17 Mon Sep 17 00:00:00 2001 From: Sagar Dhawan Date: Mon, 6 Jan 2025 09:49:32 -0800 Subject: [PATCH] fmt --- jolt-core/benches/msm.rs | 4 +--- jolt-core/benches/msm_batch.rs | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/jolt-core/benches/msm.rs b/jolt-core/benches/msm.rs index 5b056ff17..e2a4ede9f 100644 --- a/jolt-core/benches/msm.rs +++ b/jolt-core/benches/msm.rs @@ -55,9 +55,7 @@ where .collect(), MsmType::Large(_) => (0..SRS_SIZE) .into_iter() - .map(|_| { - Fr::random(&mut rng) - }) + .map(|_| Fr::random(&mut rng)) .collect(), }; diff --git a/jolt-core/benches/msm_batch.rs b/jolt-core/benches/msm_batch.rs index 9e857262a..22070a05d 100644 --- a/jolt-core/benches/msm_batch.rs +++ b/jolt-core/benches/msm_batch.rs @@ -87,9 +87,7 @@ fn get_scalars(msm_type: MsmType, size: usize) -> Vec { .collect(), MsmType::Large(_) => (0..size) .into_iter() - .map(|_| { - Fr::random(&mut rng) - }) + .map(|_| Fr::random(&mut rng)) .collect(), } }