Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
huitseeker committed Feb 12, 2024
1 parent f3ea441 commit 8405923
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/r1cs/util.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
use ff::PrimeField;
use group::Group;
#[cfg(not(target_arch = "wasm32"))]
use proptest::prelude::*;

Expand Down
2 changes: 1 addition & 1 deletion src/spartan/batched.rs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ impl<E: Engine, EE: EvaluationEngineTrait<E>> BatchedRelaxedR1CSSNARKTrait<E>
};

let (batched_u, batched_w, sc_proof_batch, claims_batch_left) =
batch_eval_prove(u_vec, w_vec, &mut transcript)?;
batch_eval_prove(u_vec, &w_vec, &mut transcript)?;

let eval_arg = EE::prove(
ck,
Expand Down
4 changes: 2 additions & 2 deletions src/spartan/snark.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ impl<E: Engine, EE: EvaluationEngineTrait<E>> RelaxedR1CSSNARKTrait<E> for Relax
];

let (batched_u, batched_w, sc_proof_batch, claims_batch_left) =
batch_eval_prove(u_vec, w_vec, &mut transcript)?;
batch_eval_prove(u_vec, &w_vec, &mut transcript)?;

let eval_arg = EE::prove(
ck,
Expand Down Expand Up @@ -428,7 +428,7 @@ impl<E: Engine, EE: EvaluationEngineTrait<E>> RelaxedR1CSSNARKTrait<E> for Relax
/// the claims and resulting evaluations from Sumcheck.
pub(in crate::spartan) fn batch_eval_prove<E: Engine>(
u_vec: Vec<PolyEvalInstance<E>>,
w_vec: Vec<PolyEvalWitness<E>>,
w_vec: &[PolyEvalWitness<E>],
transcript: &mut E::TE,
) -> Result<
(
Expand Down

0 comments on commit 8405923

Please sign in to comment.