Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
srinathsetty committed Sep 29, 2023
1 parent 7d7cea5 commit 6fb4ef2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions benches/sha256.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,8 @@ fn bench_snark(c: &mut Criterion) {
SNARK::<G, S, Sha256Circuit<<G as Group>::Scalar>>::setup(circuit.clone()).unwrap();

group.bench_function("Prove", |b| {
let _res = b.iter(|| {
SNARK::<G, S, Sha256Circuit<<G as Group>::Scalar>>::prove(
b.iter(|| {
let _ = SNARK::<G, S, Sha256Circuit<<G as Group>::Scalar>>::prove(
black_box(&pk),
black_box(circuit.clone()),
);
Expand Down

0 comments on commit 6fb4ef2

Please sign in to comment.