Skip to content

Commit b345aca

Browse files
authored
doc: fix comment (#176)
Signed-off-by: goldlinker <goldlinker@outlook.jp>
1 parent 5d2adac commit b345aca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/starknet-types-core/src/felt

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ impl Felt {
104104
/// Create a new [Felt] from a hex static string.
105105
///
106106
/// This will panic if used on incorrect values, making it unfit for parsing dynamic values.
107-
/// It should only be used with static strings, idealy in tests or a `const` context.
107+
/// It should only be used with static strings, ideally in tests or a `const` context.
108108
pub const fn from_hex_unwrap(val: &'static str) -> Self {
109109
Self(FieldElement::<Stark252PrimeField>::from_hex_unchecked(val))
110110
}

0 commit comments

Comments
 (0)