From a26da1060c180128331d76c081e17c6dcb68343f Mon Sep 17 00:00:00 2001 From: Ben Savage Date: Mon, 25 Sep 2023 17:17:18 +0800 Subject: [PATCH] Fixing clippy warnings --- src/protocol/prf_sharding/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/protocol/prf_sharding/mod.rs b/src/protocol/prf_sharding/mod.rs index 975743f31..110147031 100644 --- a/src/protocol/prf_sharding/mod.rs +++ b/src/protocol/prf_sharding/mod.rs @@ -635,14 +635,14 @@ pub mod tests { test_output(12, 7), test_output(12, 4), ]; - const NUM_SATURATING_SUM_BITS: usize = 5; + let num_saturating_bits: usize = 5; let result: Vec<_> = world .semi_honest(records.into_iter(), |ctx, input_rows| async move { attribution_and_capping::<_, Gf5Bit, Gf3Bit>( ctx, input_rows, - NUM_SATURATING_SUM_BITS, + num_saturating_bits, ) .await .unwrap()