We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5fefc3 commit f2dee82Copy full SHA for f2dee82
library/core/src/num/mod.rs
@@ -99,8 +99,8 @@ macro_rules! i8_xe_bytes_doc {
99
100
**Note**: This function is meaningless on `i8`. Byte order does not exist as a
101
concept for byte-sized integers. This function is only provided in symmetry
102
-with larger integer types. You can cast from and to `u8` using `as i8` and `as
103
-u8`.
+with larger integer types. You can cast from and to `u8` using
+[`cast_signed`](u8::cast_signed) and [`cast_unsigned`](Self::cast_unsigned).
104
105
"
106
};
0 commit comments