File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -380,6 +380,8 @@ enum Enum2<T> {
380
380
381
381
### Layout of single variant enums
382
382
383
+ > **NOTE**: the guarantees in this section have not been approved by an RFC process.
384
+
383
385
**Single variant data-carrying*** enums without a `repr()` annotation have the
384
386
same layout as the variant field. **Single variant fieldless** enums have the
385
387
same layout as a unit struct .
@@ -420,6 +422,8 @@ layout as `SomeStruct`.
420
422
421
423
### Layout of multi-variant enums with one inhabited variant
422
424
425
+ > **NOTE**: the guarantees in this section have not been approved by an RFC process.
426
+
423
427
The layout of **multi-variant** enums with **one inhabited variant** is the same
424
428
as that of the single-variant enum containing that same inhabited variant.
425
429
You can’t perform that action at this time.
0 commit comments