We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d2adac commit b345acaCopy full SHA for b345aca
1 file changed
crates/starknet-types-core/src/felt/mod.rs
@@ -104,7 +104,7 @@ impl Felt {
104
/// Create a new [Felt] from a hex static string.
105
///
106
/// 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.
+ /// It should only be used with static strings, ideally in tests or a `const` context.
108
pub const fn from_hex_unwrap(val: &'static str) -> Self {
109
Self(FieldElement::<Stark252PrimeField>::from_hex_unchecked(val))
110
}
0 commit comments