Configure rustfmt.
This commit is contained in:
parent
26ac52b250
commit
c8a2b569d1
17
rustfmt.toml
17
rustfmt.toml
@ -1,8 +1,13 @@
|
||||
max_width = 80
|
||||
ideal_width = 80
|
||||
fn_call_width = 80
|
||||
force_explicit_abi = false
|
||||
fn_single_line = true
|
||||
edition = "2018"
|
||||
fn_args_density = "Compressed"
|
||||
fn_single_line = true
|
||||
match_arm_blocks = false
|
||||
match_block_trailing_comma = true
|
||||
normalize_comments = false
|
||||
max_width = 100
|
||||
merge_imports = true
|
||||
newline_style = "Unix"
|
||||
reorder_imports = true
|
||||
trailing_comma = "Vertical"
|
||||
use_field_init_shorthand = true
|
||||
use_try_shorthand = true
|
||||
wrap_comments = true
|
||||
|
Loading…
x
Reference in New Issue
Block a user