mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-18 07:29:09 +00:00
A better, but not yet good enough, 'rustfmt.toml'.
This commit is contained in:
parent
f18fa81a4e
commit
322c02f654
14
rustfmt.toml
14
rustfmt.toml
@ -1,2 +1,14 @@
|
||||
max_width = 90
|
||||
fn_call_width = 80
|
||||
fn_call_width = 90
|
||||
condense_wildcard_suffixes = true
|
||||
error_on_line_overflow = false
|
||||
fn_args_density = "CompressedIfEmpty"
|
||||
fn_call_style = "Visual"
|
||||
chain_one_line_max = 80
|
||||
imports_layout = "Horizontal"
|
||||
match_pattern_separator_break_point = "Front"
|
||||
struct_lit_width = 40
|
||||
use_try_shorthand = true
|
||||
where_style = "Legacy"
|
||||
where_density = "Vertical"
|
||||
where_layout = "HorizontalVertical"
|
||||
|
Loading…
Reference in New Issue
Block a user