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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -94,7 +94,7 @@ impl_zeroable_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.
///