Skip to content

Commit 88dc2f7

Browse files
authored
doc: typos (#120)
1 parent 5774f89 commit 88dc2f7

File tree

1 file changed

+2
-2
lines changed
  • crates/starknet-types-core/src/felt

1 file changed

+2
-2
lines changed

crates/starknet-types-core/src/felt/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ impl Felt {
281281
Self(self.0.pow(exponent.0.representative()))
282282
}
283283

284-
// Implemention taken from Jonathan Lei's starknet-rs
284+
// Implementation taken from Jonathan Lei's starknet-rs
285285
// https://github.com/xJonathanLEI/starknet-rs/blob/a3a0050f80e90bd40303256a85783f4b5b18258c/starknet-crypto/src/fe_utils.rs#L20
286286
/// Modular multiplication between `self` and `rhs` in modulo `p`.
287287
pub fn mul_mod(&self, rhs: &Self, p: &NonZeroFelt) -> Self {
@@ -299,7 +299,7 @@ impl Felt {
299299
Felt::from_bytes_be(&result)
300300
}
301301

302-
// Implemention taken from Jonathan Lei's starknet-rs
302+
// Implementation taken from Jonathan Lei's starknet-rs
303303
// https://github.com/xJonathanLEI/starknet-rs/blob/a3a0050f80e90bd40303256a85783f4b5b18258c/starknet-crypto/src/fe_utils.rs#L46
304304
/// Multiplicative inverse of `self` in modulo `p`.
305305
pub fn mod_inverse(&self, p: &NonZeroFelt) -> Option<Self> {

0 commit comments

Comments
 (0)