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:
parent
f1e2564821
commit
7ca5c5ccae
|
@ -335,7 +335,7 @@ pub fn hex_u128(s: &str) -> Result<u128, ParseIntError> {
|
||||||
Ok(hex_u128_unchecked(unchecked)?)
|
Ok(hex_u128_unchecked(unchecked)?)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Parses a `u128` from a hex string.
|
/// Parses a `u128` from a prefixed hex string.
|
||||||
///
|
///
|
||||||
/// # Errors
|
/// # Errors
|
||||||
///
|
///
|
||||||
|
@ -346,7 +346,7 @@ pub fn hex_u128_prefixed(s: &str) -> Result<u128, PrefixedHexError> {
|
||||||
Ok(hex_u128_unchecked(checked)?)
|
Ok(hex_u128_unchecked(checked)?)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Parses a `u128` from a hex string.
|
/// Parses a `u128` from an unprefixed hex string.
|
||||||
///
|
///
|
||||||
/// # Errors
|
/// # Errors
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue