Skip to content

Commit c1eedc7

Browse files
committed
Document that the new sections have not been approved by an RFC process
1 parent edc570e commit c1eedc7

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
@@ -380,6 +380,8 @@ enum Enum2<T> {
380380

381381
### Layout of single variant enums
382382

383+
> **NOTE**: the guarantees in this section have not been approved by an RFC process.
384+
383385
**Single variant data-carrying*** enums without a `repr()` annotation have the
384386
same layout as the variant field. **Single variant fieldless** enums have the
385387
same layout as a unit struct.
@@ -420,6 +422,8 @@ layout as `SomeStruct`.
420422

421423
### Layout of multi-variant enums with one inhabited variant
422424

425+
> **NOTE**: the guarantees in this section have not been approved by an RFC process.
426+
423427
The layout of **multi-variant** enums with **one inhabited variant** is the same
424428
as that of the single-variant enum containing that same inhabited variant.
425429

0 commit comments

Comments
 (0)