Update library/core/src/num/nonzero.rs
Tweak language Co-authored-by: Jonas Böttiger <jonasboettiger@icloud.com>
This commit is contained in:
parent
f4166487ff
commit
4a8de9ac41
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue