mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Update library/core/src/num/nonzero.rs
Tweak language Co-authored-by: Jonas Böttiger <jonasboettiger@icloud.com>
This commit is contained in:
@@ -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.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user