diff options
| author | Carl Sverre <82591+carlsverre@users.noreply.github.com> | 2025-01-24 09:15:19 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-24 09:15:19 -0800 |
| commit | 4a8de9ac41d6010ef3f4e930894be3628ccc3fc6 (patch) | |
| tree | f0c90cfa7c2f5ff98ea10bd6a21f9c133744b2f4 | |
| parent | f4166487ff37e6fce9e5558f4aea5d8b034bcdc8 (diff) | |
| download | rust-4a8de9ac41d6010ef3f4e930894be3628ccc3fc6.tar.gz rust-4a8de9ac41d6010ef3f4e930894be3628ccc3fc6.zip | |
Update library/core/src/num/nonzero.rs
Tweak language Co-authored-by: Jonas Böttiger <jonasboettiger@icloud.com>
| -rw-r--r-- | library/core/src/num/nonzero.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/num/nonzero.rs b/library/core/src/num/nonzero.rs index bf7ba3222d0..8089d616409 100644 --- a/library/core/src/num/nonzero.rs +++ b/library/core/src/num/nonzero.rs @@ -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. /// |
