We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28541bb commit 5a2c03dCopy full SHA for 5a2c03d
core/src/num/nonzero.rs
@@ -94,7 +94,7 @@ impl_zeroable_primitive!(
94
/// # Layout
95
///
96
/// `NonZero<T>` is guaranteed to have the same layout and bit validity as `T`
97
-/// with the exception that the all-zero bit pattern is not a valid instance.
+/// with the exception that the all-zero bit pattern is invalid.
98
/// `Option<NonZero<T>>` is guaranteed to be compatible with `T`, including in
99
/// FFI.
100
0 commit comments