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

chore: fix clippy #82

Merged
merged 1 commit into from
Feb 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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