Skip to content

Commit 3262a0a

Browse files
committed
Merge branch 'nicheopt' of github.com:gnzlbg/unsafe-code-guidelines into nicheopt
2 parents 95a102c + 78395f3 commit 3262a0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reference/src/layout/enums.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ as a niche.
322322
[`NonZeroU8`]: https://doc.rust-lang.org/std/num/struct.NonZeroU8.html
323323
324324
The niche values must be disjoint from the values allowed by the validity
325-
invariant. The validity invariant is, as of this writing, is the current active
325+
invariant. The validity invariant is, as of this writing, the current active
326326
discussion topic in the unsafe code guidelines process. [rust-lang/rust#60300]
327327
specifies that the following types have at least one niche (the all-zeros
328328
bit-pattern):

0 commit comments

Comments
 (0)