-
Notifications
You must be signed in to change notification settings - Fork 0
/
rustfmt.toml
36 lines (34 loc) · 917 Bytes
/
rustfmt.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
short_array_element_width_threshold = 50
single_line_let_else_max_width = 0
group_imports = "StdExternalCrate"
enum_discrim_align_threshold = 40
struct_field_align_threshold = 40
fn_params_layout = "Compressed"
use_field_init_shorthand = true
overflow_delimited_expr = true
struct_lit_single_line = true
imports_granularity = "Module"
imports_layout = "Horizontal"
force_multiline_blocks = true
use_small_heuristics = "Max"
normalize_comments = false
reorder_impl_items = true
imports_indent = "Block"
trailing_comma = "Never"
reorder_imports = false
reorder_modules = false
newline_style = "Auto"
fn_call_width = 90
hard_tabs = false
style_edition = "2021"
max_width = 140
tab_spaces = 2
attr_fn_like_width = 120
match_block_trailing_comma = false
where_single_line = false
chain_width = 60
edition = "2021"
struct_variant_width = 0
single_line_if_else_max_width = 0
match_arm_blocks = false
struct_lit_width = 50