Skip to content

Commit 5a2c03d

Browse files
carlsverrejoboet
authored and
gitbot
committed
Update library/core/src/num/nonzero.rs
Tweak language Co-authored-by: Jonas Böttiger <[email protected]>
1 parent 28541bb commit 5a2c03d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)