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 @@ -353,6 +353,8 @@ enum Enum1<T> {
353
353
354
354
### Layout of single variant enums
355
355
356
+ > **NOTE**: the guarantees in this section have not been approved by an RFC process.
357
+
356
358
**Single variant data-carrying*** enums without a `repr()` annotation have the
357
359
same layout as the variant field. **Single variant fieldless** enums have the
358
360
same layout as a unit struct .
@@ -393,6 +395,8 @@ layout as `SomeStruct`.
393
395
394
396
### Layout of multi-variant enums with one inhabited variant
395
397
398
+ > **NOTE**: the guarantees in this section have not been approved by an RFC process.
399
+
396
400
The layout of **multi-variant** enums with **one inhabited variant** is the same
397
401
as that of the single-variant enum containing that same inhabited variant.
398
402
You can’t perform that action at this time.
0 commit comments