We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 823937c commit 84583e2Copy full SHA for 84583e2
reference/src/glossary.md
@@ -61,7 +61,7 @@ In this document, *layout* and *representation* are not synonyms.
61
62
#### Niche
63
64
-Invalid bit-patterns that will be used by layout optimizations.
+The *niche* of a type determines invalid bit-patterns that will be used by layout optimizations.
65
66
For example, `&mut T` has at least one niche, the "all zeros" bit-pattern. This
67
niche is used by layout optimizations like "`enum` discriminant elision" to
0 commit comments