Skip to content

Commit 2b791bd

Browse files
authored
Fix clippy errors and update version (#81)
* fix clippy errors * update version
1 parent 57533f7 commit 2b791bd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "spartan"
3-
version = "0.8.0"
3+
version = "0.9.0"
44
authors = ["Srinath Setty <[email protected]>"]
55
edition = "2021"
66
description = "High-speed zkSNARKs without trusted setup"

src/group.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ impl<'b> MulAssign<&'b Scalar> for GroupElement {
3030
}
3131
}
3232

33-
impl<'a, 'b> Mul<&'b Scalar> for &'a GroupElement {
33+
impl<'b> Mul<&'b Scalar> for &GroupElement {
3434
type Output = GroupElement;
3535
fn mul(self, scalar: &'b Scalar) -> GroupElement {
3636
self * Scalar::decompress_scalar(scalar)
3737
}
3838
}
3939

40-
impl<'a, 'b> Mul<&'b GroupElement> for &'a Scalar {
40+
impl<'b> Mul<&'b GroupElement> for &Scalar {
4141
type Output = GroupElement;
4242

4343
fn mul(self, point: &'b GroupElement) -> GroupElement {

0 commit comments

Comments
 (0)