Skip to content

Commit 4a8de9a

Browse files
carlsverrejoboet
andauthored
Update library/core/src/num/nonzero.rs
Tweak language Co-authored-by: Jonas Böttiger <[email protected]>
1 parent f416648 commit 4a8de9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: library/core/src/num/nonzero.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ impl_zeroable_primitive!(
9494
/// # Layout
9595
///
9696
/// `NonZero<T>` is guaranteed to have the same layout and bit validity as `T`
97-
/// with the exception that the all-zero bit pattern is not a valid instance.
97+
/// with the exception that the all-zero bit pattern is invalid.
9898
/// `Option<NonZero<T>>` is guaranteed to be compatible with `T`, including in
9999
/// FFI.
100100
///

0 commit comments

Comments
 (0)