We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2e29de commit 593c7feCopy full SHA for 593c7fe
src/libcore/intrinsics.rs
@@ -1126,7 +1126,7 @@ extern "rust-intrinsic" {
1126
///
1127
/// // use `u32::from_ne_bytes` instead
1128
/// let num = u32::from_ne_bytes(raw_bytes);
1129
- /// // or use `u32::from_le_bytes` or `u32::from_ge_bytes` to specify the endianness
+ /// // or use `u32::from_le_bytes` or `u32::from_be_bytes` to specify the endianness
1130
/// let num = u32::from_le_bytes(raw_bytes);
1131
/// assert_eq!(num, 0x12345678);
1132
/// let num = u32::from_be_bytes(raw_bytes);
0 commit comments