Skip to content

Commit

Permalink
fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
srinathsetty committed Oct 13, 2023
1 parent ce0cf51 commit 63f5636
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 63f5636

Please sign in to comment.