diff --git a/zcash_proofs/src/circuit/ecc.rs b/zcash_proofs/src/circuit/ecc.rs index 0a15f3dc6..5425d2331 100644 --- a/zcash_proofs/src/circuit/ecc.rs +++ b/zcash_proofs/src/circuit/ecc.rs @@ -855,6 +855,7 @@ mod test { assert!(cs.is_satisfied()); + #[allow(clippy::branches_sharing_code)] if should_we_select { assert_eq!(q.u.get_value().unwrap(), u0); assert_eq!(q.v.get_value().unwrap(), v0);