Skip to content

Commit c84b1c3

Browse files
committed
s/representation invariant/validity invariant/
1 parent 219a584 commit c84b1c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reference/src/layout/enums.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -310,9 +310,9 @@ may never be NULL, and hence defines a niche consisting of the
310310
bitstring `0`. Similarly, the standard library types [`NonZeroU8`]
311311
and friends may never be zero, and hence also define the value of `0`
312312
as a niche. (Types that define niche values will say so as part of the
313-
description of their representation invariant, which -- as of this
314-
writing -- are the next topic up for discussion in the unsafe code
315-
guidelines process.)
313+
description of their validity invariant, which -- as of this writing
314+
-- are the next topic up for discussion in the unsafe code guidelines
315+
process.)
316316
317317
[`NonZeroU8`]: https://doc.rust-lang.org/std/num/struct.NonZeroU8.html
318318

0 commit comments

Comments
 (0)