Update library/core/src/num/nonzero.rs

Tweak language

Co-authored-by: Jonas Böttiger <jonasboettiger@icloud.com>
This commit is contained in:
Carl Sverre
2025-01-24 09:15:19 -08:00
committed by GitHub
parent f4166487ff
commit 4a8de9ac41
+1 -1
View File
@@ -94,7 +94,7 @@ unsafe impl ZeroablePrimitive for $primitive {
/// # Layout
///
/// `NonZero<T>` is guaranteed to have the same layout and bit validity as `T`
/// 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.
/// `Option<NonZero<T>>` is guaranteed to be compatible with `T`, including in
/// FFI.
///