From 9ceb42136092832b8aaed36b5428f719006ca5a5 Mon Sep 17 00:00:00 2001 From: duguorong Date: Tue, 31 Oct 2023 13:04:32 +0800 Subject: [PATCH] chore: fix the clippy error --- eigentrust-zk/src/circuits/threshold/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eigentrust-zk/src/circuits/threshold/mod.rs b/eigentrust-zk/src/circuits/threshold/mod.rs index 10b4a62b..a6c8c5e5 100644 --- a/eigentrust-zk/src/circuits/threshold/mod.rs +++ b/eigentrust-zk/src/circuits/threshold/mod.rs @@ -527,6 +527,7 @@ impl< let composed_num = { let mut limbs = num_decomposed_limbs.clone(); limbs.reverse(); + #[allow(clippy::redundant_clone)] let scale = max_limb_value.clone(); let mut val = limbs[0].clone(); @@ -677,7 +678,6 @@ mod tests { use rand::thread_rng; type E = Bn256; - type C = G1Affine; type N = Fr; type HN = PoseidonNativeHasher; type SN = PoseidonNativeSponge;