We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f88cd2 commit 7d4e9b3Copy full SHA for 7d4e9b3
library/core/src/num/nonzero.rs
@@ -39,6 +39,8 @@ macro_rules! nonzero_integers {
39
///
40
#[doc = concat!("`", stringify!($Ty), "` is guaranteed to have the same layout and bit validity as `", stringify!($Int), "`")]
41
/// with the exception that `0` is not a valid instance.
42
+ #[doc = concat!("`Option<", stringify!($Ty), "` is guaranteed to be compatible with `", stringify!($Int), "`,"
43
+ /// including in FFI.
44
#[$stability]
45
#[derive(Copy, Clone, Eq, PartialEq, Ord, PartialOrd, Hash)]
46
#[repr(transparent)]
0 commit comments