Stabilize field init shorthand

Closes #37340.
This commit is contained in:
est31 2017-02-12 06:49:15 +01:00
parent 025c328bf5
commit aebd94fd3c
11 changed files with 5 additions and 45 deletions

View file

@ -122,8 +122,6 @@ fields of the data structure are initialized with variables of the same
names as the fields.
```
#![feature(field_init_shorthand)]
#[derive(Debug)]
struct Person<'a> {
name: &'a str,

View file

@ -2825,7 +2825,6 @@ This allows a compact syntax with less duplication.
Example:
```
# #![feature(field_init_shorthand)]
# struct Point3d { x: i32, y: i32, z: i32 }
# let x = 0;
# let y_value = 0;