diff --git a/crates/starknet-types-core/src/felt/mod.rs b/crates/starknet-types-core/src/felt/mod.rs index 60b86f7..e56b45e 100644 --- a/crates/starknet-types-core/src/felt/mod.rs +++ b/crates/starknet-types-core/src/felt/mod.rs @@ -281,7 +281,7 @@ impl Felt { Self(self.0.pow(exponent.0.representative())) } - // Implemention taken from Jonathan Lei's starknet-rs + // Implementation taken from Jonathan Lei's starknet-rs // https://github.com/xJonathanLEI/starknet-rs/blob/a3a0050f80e90bd40303256a85783f4b5b18258c/starknet-crypto/src/fe_utils.rs#L20 /// Modular multiplication between `self` and `rhs` in modulo `p`. pub fn mul_mod(&self, rhs: &Self, p: &NonZeroFelt) -> Self { @@ -299,7 +299,7 @@ impl Felt { Felt::from_bytes_be(&result) } - // Implemention taken from Jonathan Lei's starknet-rs + // Implementation taken from Jonathan Lei's starknet-rs // https://github.com/xJonathanLEI/starknet-rs/blob/a3a0050f80e90bd40303256a85783f4b5b18258c/starknet-crypto/src/fe_utils.rs#L46 /// Multiplicative inverse of `self` in modulo `p`. pub fn mod_inverse(&self, p: &NonZeroFelt) -> Option {