Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
fix clippy (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray authored Feb 8, 2023
1 parent 97149ad commit 99d10c2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions acvm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,8 @@ pub fn default_is_black_box_supported(
) -> compiler::fallback::IsBlackBoxSupported {
// R1CS does not support any of the black box functions by default.
// The compiler will replace those that it can -- ie range, xor, and
fn r1cs_is_supported(opcode: &BlackBoxFunc) -> bool {
match opcode {
_ => false,
}
fn r1cs_is_supported(_opcode: &BlackBoxFunc) -> bool {
false
}

// PLONK supports most of the black box functions by default
Expand Down

0 comments on commit 99d10c2

Please sign in to comment.