Skip to content

Commit

Permalink
Fix typos (#290)
Browse files Browse the repository at this point in the history
* fix typo

* fix typo

* Fix typo
  • Loading branch information
GoodDaisy authored Jan 10, 2024
1 parent 48065b0 commit 0e8f5fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/gadgets/ecc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ where
}

/// Adds other point to this point and returns the result. Assumes that the two points are
/// different and that both `other.is_infinity` and `this.is_infinty` are bits
/// different and that both `other.is_infinity` and `this.is_infinity` are bits
pub fn add_internal<CS: ConstraintSystem<E::Base>>(
&self,
mut cs: CS,
Expand Down
2 changes: 1 addition & 1 deletion src/provider/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub trait DlogGroup:
/// Returns the generator of the group
fn gen() -> Self;

/// Returns the affine coordinates (x, y, infinty) for the point
/// Returns the affine coordinates (x, y, infinity) for the point
fn to_coordinates(&self) -> (<Self as Group>::Base, <Self as Group>::Base, bool);
}

Expand Down
2 changes: 1 addition & 1 deletion src/traits/commitment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ pub trait CommitmentTrait<E: Engine>:
fn decompress(c: &Self::CompressedCommitment) -> Result<Self, NovaError>;
}

/// A trait that helps determine the lenght of a structure.
/// A trait that helps determine the length of a structure.
/// Note this does not impose any memory representation contraints on the structure.
pub trait Len {
/// Returns the length of the structure.
Expand Down

0 comments on commit 0e8f5fd

Please sign in to comment.