Skip to content

Commit 9344d33

Browse files
committed
Add date and feature name
1 parent 55cffcb commit 9344d33

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

text/0000-stabilize-drop-order.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
- Feature Name: (fill me in with a unique ident, my_awesome_feature)
2-
- Start Date: (fill me in with today's date, YYYY-MM-DD)
1+
- Feature Name: stable_drop_order
2+
- Start Date: 2017-01-19
33
- RFC PR: (leave this empty)
44
- Rust Issue: (leave this empty)
55

@@ -88,7 +88,9 @@ let x = MyStruct {
8888

8989
In this case, `field2` is destructed first and `field1` second, which may
9090
seem counterintuitive at first but makes sense when you consider that the
91-
initialized fields are actually temporary variables.
91+
initialized fields are actually temporary variables. Note that the drop order
92+
depends on the order of the fields in the *initializer* and not in the struct
93+
declaration.
9294

9395
### Slices and Vec
9496

0 commit comments

Comments
 (0)