We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c09d05f commit 6eb258eCopy full SHA for 6eb258e
math/src/field/element.rs
@@ -509,7 +509,7 @@ impl<F: IsPrimeField> FieldElement<F> {
509
/// Creates a `FieldElement` from a hexstring. It can contain `0x` or not.
510
/// Returns an `CreationError::InvalidHexString`if the value is not a hexstring.
511
/// Returns a `CreationError::EmptyString` if the input string is empty.
512
- /// Returns a `CreationError::HexStringIsTooBig` if the the imput hex string is bigger
+ /// Returns a `CreationError::HexStringIsTooBig` if the the input hex string is bigger
513
/// than the maximum amount of characters for this element.
514
pub fn from_hex(hex_string: &str) -> Result<Self, CreationError> {
515
if hex_string.is_empty() {
0 commit comments