Skip to content

Commit

Permalink
replace block of error to ? according to clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
querolita committed Oct 26, 2023
1 parent c5403c4 commit 1d7a2f8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions kimchi/src/tests/keccak.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,7 @@ where
for (row, gate) in gates.iter().enumerate().take(witness[0].len()) {
let result =
gate.verify_witness::<KECCAK_COLS, G>(row, &witness, &cs, &witness[0][0..cs.public]);
if result.is_err() {
return result;
}
result?;
}
assert_eq!(
runner
Expand Down

0 comments on commit 1d7a2f8

Please sign in to comment.