Update rustfmt.toml to match the rust repo
This commit is contained in:
parent
cdadd5f4cd
commit
8dda1ebfb6
1 changed files with 2 additions and 1 deletions
|
@ -3,8 +3,9 @@ ignore = [
|
||||||
]
|
]
|
||||||
|
|
||||||
# Matches rustfmt.toml of rustc
|
# Matches rustfmt.toml of rustc
|
||||||
version = "Two"
|
style_edition = "2024"
|
||||||
use_small_heuristics = "Max"
|
use_small_heuristics = "Max"
|
||||||
merge_derives = false
|
merge_derives = false
|
||||||
group_imports = "StdExternalCrate"
|
group_imports = "StdExternalCrate"
|
||||||
imports_granularity = "Module"
|
imports_granularity = "Module"
|
||||||
|
use_field_init_shorthand = true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue