Skip to content

Commit 60c7c99

Browse files
authored
Merge pull request #60 from danielparks/fmt
rust fmt: allow longer struct literals, and use field short hand.
2 parents 5299eeb + ae6d85c commit 60c7c99

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

rustfmt.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
max_width = 80
22
newline_style = "Unix"
3+
struct_lit_width = 60
4+
use_field_init_shorthand = true

0 commit comments

Comments
 (0)