Skip to content

Commit 8dda1eb

Browse files
committed
Update rustfmt.toml to match the rust repo
1 parent cdadd5f commit 8dda1eb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

rustfmt.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ ignore = [
33
]
44

55
# Matches rustfmt.toml of rustc
6-
version = "Two"
6+
style_edition = "2024"
77
use_small_heuristics = "Max"
88
merge_derives = false
99
group_imports = "StdExternalCrate"
1010
imports_granularity = "Module"
11+
use_field_init_shorthand = true

0 commit comments

Comments
 (0)