diff --git a/CHANGELOG.md b/CHANGELOG.md index 9188fcf..562a80d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -133,7 +133,7 @@ and this library adheres to Rust's notion of ### Changed - MSRV is now 1.44.0. - `ff::Field::random(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 diff --git a/ff_derive/src/lib.rs b/ff_derive/src/lib.rs index 158d0f9..523f333 100644 --- a/ff_derive/src/lib.rs +++ b/ff_derive/src/lib.rs @@ -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() { diff --git a/src/lib.rs b/src/lib.rs index 96bd3e9..bbd7f17 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -358,7 +358,7 @@ pub trait PrimeField: Field + From { pub trait WithSmallOrderMulGroup: 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