Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
srinathsetty committed Jan 6, 2025
1 parent d462e74 commit 86a822c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gadgets/nonnative/bignat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ impl<Scalar: PrimeField> BigNat<Scalar> {
})
}

/// Compute a `BigNat` contrained to be equal to `self * other % modulus`.
/// Compute a `BigNat` constrained to be equal to `self * other % modulus`.
pub fn mult_mod<CS: ConstraintSystem<Scalar>>(
&self,
mut cs: CS,
Expand Down Expand Up @@ -564,7 +564,7 @@ impl<Scalar: PrimeField> BigNat<Scalar> {
Ok((quotient, remainder))
}

/// Compute a `BigNat` contrained to be equal to `self * other % modulus`.
/// Compute a `BigNat` constrained to be equal to `self * other % modulus`.
pub fn red_mod<CS: ConstraintSystem<Scalar>>(
&self,
mut cs: CS,
Expand Down

0 comments on commit 86a822c

Please sign in to comment.