Skip to content

Commit

Permalink
fix: clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnevadoc committed Apr 2, 2024
1 parent fc508c5 commit 11ff07d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions halo2_proofs/src/poly/kzg/multiopen/gwc/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ where
const QUERY_INSTANCE: bool = false;

fn new(_params: &'params ParamsVerifierKZG<E>) -> Self {
Self {
_p0: PhantomData::default(),
}
Self { _p0: PhantomData }
}

fn verify_proof<
Expand Down
4 changes: 1 addition & 3 deletions halo2_proofs/src/poly/kzg/multiopen/shplonk/verifier.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ where
const QUERY_INSTANCE: bool = false;

fn new(_params: &'params ParamsVerifierKZG<E>) -> Self {
Self {
_p0: PhantomData::default(),
}
Self { _p0: PhantomData }
}

/// Verify a multi-opening proof
Expand Down

0 comments on commit 11ff07d

Please sign in to comment.