Skip to content

Commit 1c873b5

Browse files
committed
Format and add function docs
1 parent 20c35fc commit 1c873b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

math/src/unsigned_integer/element.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,8 @@ impl<const NUM_LIMBS: usize> UnsignedInteger<NUM_LIMBS> {
425425
/// Creates an `UnsignedInteger` from a hexstring. It can contain `0x` or not.
426426
/// Returns an `CreationError::InvalidHexString`if the value is not a hexstring.
427427
/// Returns a `CreationError::EmptyString` if the input string is empty.
428-
/// Returns a `CreationError::HexStringIsTooBig` if the the imput hex string is bigger than the maximum amount of characters for this element.
428+
/// Returns a `CreationError::HexStringIsTooBig` if the the imput hex string is bigger
429+
/// than the maximum amount of characters for this element.
429430
pub fn from_hex(value: &str) -> Result<Self, CreationError> {
430431
let mut string = value;
431432
let mut char_iterator = value.chars();

0 commit comments

Comments
 (0)