blob: 8b80e81534b7492b51d9f0d2624a59bac7e16664 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// rustfmt-use_field_init_shorthand: true
// Use field initialization shorthand if possible.
fn main() {
let a = Foo { x, y, z };
let b = Bar {
x,
y,
#[attr]
z,
#[rustfmt::skip]
skipped: skipped,
};
}
|