mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-03 19:53:40 +00:00
clippy: remove unnecessarily explicit lifetimes and return types
This commit is contained in:
parent
daf54ddec9
commit
e4dac4f621
2 changed files with 2 additions and 2 deletions
|
|
@ -212,7 +212,7 @@ impl<C: CurveAffine> super::ProvingKey<C> {
|
|||
.collect()
|
||||
}
|
||||
|
||||
fn open<'a>(&'a self, x: ChallengeX<C>) -> impl Iterator<Item = ProverQuery<'a, C>> + Clone {
|
||||
fn open(&self, x: ChallengeX<C>) -> impl Iterator<Item = ProverQuery<'_, C>> + Clone {
|
||||
self.polys.iter().map(move |poly| ProverQuery {
|
||||
point: *x,
|
||||
poly,
|
||||
|
|
|
|||
|
|
@ -136,7 +136,7 @@ impl<'a, C: CurveAffine> Query<C::Scalar> for ProverQuery<'a, C> {
|
|||
fn get_point(&self) -> C::Scalar {
|
||||
self.point
|
||||
}
|
||||
fn get_eval(&self) -> () {}
|
||||
fn get_eval(&self) {}
|
||||
fn get_commitment(&self) -> Self::Commitment {
|
||||
PolynomialPointer {
|
||||
poly: self.poly,
|
||||
|
|
|
|||
Loading…
Reference in a new issue