We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a92a80d commit 55b4bffCopy full SHA for 55b4bff
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