Skip to content

Commit 053531c

Browse files
committed
Document that the new sections have not been approved by an RFC process
1 parent 0ecb9d2 commit 053531c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: reference/src/layout/enums.md

+4
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,8 @@ enum Enum1<T> {
353353

354354
### Layout of single variant enums
355355

356+
> **NOTE**: the guarantees in this section have not been approved by an RFC process.
357+
356358
**Single variant data-carrying*** enums without a `repr()` annotation have the
357359
same layout as the variant field. **Single variant fieldless** enums have the
358360
same layout as a unit struct.
@@ -393,6 +395,8 @@ layout as `SomeStruct`.
393395

394396
### Layout of multi-variant enums with one inhabited variant
395397

398+
> **NOTE**: the guarantees in this section have not been approved by an RFC process.
399+
396400
The layout of **multi-variant** enums with **one inhabited variant** is the same
397401
as that of the single-variant enum containing that same inhabited variant.
398402

0 commit comments

Comments
 (0)