docs: Use backticks on stdlib type

This commit is contained in:
Tobin C. Harding 2024-04-02 09:48:18 +11:00
parent cf65bf035f
commit 9705d51782
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ pub fn int<T: Integer, S: AsRef<str> + Into<String>>(s: S) -> Result<T, ParseInt
}) })
} }
/// Parses a u32 from a hex string. /// Parses a `u32` from a hex string.
/// ///
/// Input string may or may not contain a `0x` prefix. /// Input string may or may not contain a `0x` prefix.
pub fn hex_u32<S: AsRef<str> + Into<String>>(s: S) -> Result<u32, ParseIntError> { pub fn hex_u32<S: AsRef<str> + Into<String>>(s: S) -> Result<u32, ParseIntError> {