about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/core/src/num/nonzero.rs2
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.
 ///