Skip to content

Commit bf5f0ea

Browse files
bernardosulzbachytmimi
authored andcommitted
Show what use_field_init_shorthand = true does
It did not include `b` for the `use_field_init_shorthand = true` case, which is a mistake as it is the one thing that will be changed by this option.
1 parent 18f4fa3 commit bf5f0ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Configurations.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3046,6 +3046,7 @@ fn main() {
30463046
let y = 2;
30473047
let z = 3;
30483048
let a = Foo { x, y, z };
3049+
let b = Foo { x, y, z };
30493050
}
30503051
```
30513052

0 commit comments

Comments
 (0)