Skip to content

Commit

Permalink
cargo check passes
Browse files Browse the repository at this point in the history
  • Loading branch information
srinathsetty committed Mar 5, 2025
1 parent 96a0fbf commit 5ff2431
Show file tree
Hide file tree
Showing 4 changed files with 78 additions and 298 deletions.
12 changes: 0 additions & 12 deletions src/gadgets/ecc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -789,18 +789,6 @@ impl<E: Engine> AllocatedNonnativePoint<E> {
Ok(Self { x, y, is_infinity })
}

pub fn from_xy(
x: &BigNat<E::Scalar>,
y: &BigNat<E::Scalar>,
is_infinity: &AllocatedNum<E::Scalar>,
) -> Result<Self, SynthesisError> {
Ok(Self {
x: x.clone(),
y: y.clone(),
is_infinity: is_infinity.clone(),
})
}

/// Allocates a default point on the curve, set to the point at infinity.
pub fn default<CS>(mut cs: CS) -> Result<Self, SynthesisError>
where
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
//! This library implements Nova, a high-speed recursive SNARK.
#![deny(
//warnings,
//unused,
warnings,
unused,
future_incompatible,
nonstandard_style,
rust_2018_idioms,
Expand Down
Loading

0 comments on commit 5ff2431

Please sign in to comment.