Skip to content

Commit

Permalink
Fix various other small typos
Browse files Browse the repository at this point in the history
None of these are consequential, but they keep triggering AI spam PRs so
we may as well fix them.
  • Loading branch information
str4d committed Mar 9, 2025
1 parent 08eb57a commit c7ab0cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ and this library adheres to Rust's notion of
### Changed
- MSRV is now 1.44.0.
- `ff::Field::random<R: RngCore + ?Sized>(rng: &mut R) -> Self` has been changed
to `Field::random(rng: impl RngCore) -> Self`, to aligh with
to `Field::random(rng: impl RngCore) -> Self`, to align with
`group::Group::random`.

### Removed
Expand Down
2 changes: 1 addition & 1 deletion ff_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1381,7 +1381,7 @@ fn prime_field_impl(
}

/// Subtracts the modulus from this element if this element is not in the
/// field. Only used interally.
/// field. Only used internally.
#[inline(always)]
fn reduce(&mut self) {
if !self.is_valid() {
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ pub trait PrimeField: Field + From<u64> {
pub trait WithSmallOrderMulGroup<const N: u8>: PrimeField {
/// A field element of small multiplicative order $N$.
///
/// The presense of this element allows you to perform (certain types of)
/// The presence of this element allows you to perform (certain types of)
/// endomorphisms on some elliptic curves.
///
/// It can be calculated using [SageMath] as
Expand Down

0 comments on commit c7ab0cc

Please sign in to comment.