Skip to content

Commit

Permalink
solved cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
yugocabrio committed Nov 22, 2023
1 parent 10089c9 commit b7cfa5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/frontend/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ use num_bigint::BigInt;
use std::{error::Error, vec::Vec};

// Define a Frontend trait
#[allow(clippy::type_complexity)]
pub trait Frontend<C: CurveGroup, F: PrimeField> {
fn extract_r1cs_and_z(
&self,
Expand Down Expand Up @@ -142,7 +143,7 @@ mod frontend_tests {
}
} else if r1cs_check_result.is_ok() && ccs_check_result.is_ok() {
panic!("Relation Check: Unexpected success in both R1CS and CCS");
}
}
}

#[test]
Expand Down

0 comments on commit b7cfa5a

Please sign in to comment.