Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

Commit

Permalink
chore: fix the clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
duguorong009 committed Oct 31, 2023
1 parent 0fbbe6b commit 9ceb421
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eigentrust-zk/src/circuits/threshold/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 9ceb421

Please sign in to comment.