mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-06 20:20:34 +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()
|
.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 {
|
self.polys.iter().map(move |poly| ProverQuery {
|
||||||
point: *x,
|
point: *x,
|
||||||
poly,
|
poly,
|
||||||
|
|
|
||||||
|
|
@ -136,7 +136,7 @@ impl<'a, C: CurveAffine> Query<C::Scalar> for ProverQuery<'a, C> {
|
||||||
fn get_point(&self) -> C::Scalar {
|
fn get_point(&self) -> C::Scalar {
|
||||||
self.point
|
self.point
|
||||||
}
|
}
|
||||||
fn get_eval(&self) -> () {}
|
fn get_eval(&self) {}
|
||||||
fn get_commitment(&self) -> Self::Commitment {
|
fn get_commitment(&self) -> Self::Commitment {
|
||||||
PolynomialPointer {
|
PolynomialPointer {
|
||||||
poly: self.poly,
|
poly: self.poly,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue