Skip to content

Commit 470f1d3

Browse files
committed
Specify that the types at least have one niche
1 parent 8255d2f commit 470f1d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reference/src/layout/enums.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,8 @@ as a niche.
323323
324324
The niche values of a type are parts of its validity invariant which, as of this
325325
writing, is the current active discussion topic in the unsafe code guidelines
326-
process. [rust-lang/rust#60300] specifies that the following types have a niche:
326+
process. [rust-lang/rust#60300] specifies that the following types have at least
327+
one niche (the all-zeros bit-pattern):
327328
328329
* `&T`
329330
* `&mut T`

0 commit comments

Comments
 (0)