Skip to content

Commit

Permalink
Fix clippy errors and update version (#81)
Browse files Browse the repository at this point in the history
* fix clippy errors

* update version
  • Loading branch information
srinathsetty authored Dec 20, 2024
1 parent 57533f7 commit 2b791bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "spartan"
version = "0.8.0"
version = "0.9.0"
authors = ["Srinath Setty <[email protected]>"]
edition = "2021"
description = "High-speed zkSNARKs without trusted setup"
Expand Down
4 changes: 2 additions & 2 deletions src/group.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2b791bd

Please sign in to comment.