diff --git a/Cargo.toml b/Cargo.toml index 9fef677..e2dabb3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spartan" -version = "0.8.0" +version = "0.9.0" authors = ["Srinath Setty <srinath@microsoft.com>"] edition = "2021" description = "High-speed zkSNARKs without trusted setup" diff --git a/src/group.rs b/src/group.rs index ee8b770..0f2f667 100644 --- a/src/group.rs +++ b/src/group.rs @@ -30,14 +30,14 @@ impl<'b> MulAssign<&'b Scalar> for GroupElement { } } -impl<'a, 'b> Mul<&'b Scalar> for &'a GroupElement { +impl<'b> Mul<&'b Scalar> for &GroupElement { type Output = GroupElement; fn mul(self, scalar: &'b Scalar) -> GroupElement { self * Scalar::decompress_scalar(scalar) } } -impl<'a, 'b> Mul<&'b GroupElement> for &'a Scalar { +impl<'b> Mul<&'b GroupElement> for &Scalar { type Output = GroupElement; fn mul(self, point: &'b GroupElement) -> GroupElement {