Fix rustdoc title on hex_u128_*

The `hex_u32` versions of these functions have better docs, copy them to
the `hex_u128` versions.
This commit is contained in:
Tobin C. Harding 2025-01-20 13:44:25 +11:00
parent f1e2564821
commit 7ca5c5ccae
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 2 additions and 2 deletions

View File

@ -335,7 +335,7 @@ pub fn hex_u128(s: &str) -> Result<u128, ParseIntError> {
Ok(hex_u128_unchecked(unchecked)?)
}
/// Parses a `u128` from a hex string.
/// Parses a `u128` from a prefixed hex string.
///
/// # Errors
///
@ -346,7 +346,7 @@ pub fn hex_u128_prefixed(s: &str) -> Result<u128, PrefixedHexError> {
Ok(hex_u128_unchecked(checked)?)
}
/// Parses a `u128` from a hex string.
/// Parses a `u128` from an unprefixed hex string.
///
/// # Errors
///