Skip to content

Commit 832685e

Browse files
committed
Sort setting of rustfmt
1 parent 3712c93 commit 832685e

File tree

1 file changed

+52
-52
lines changed

1 file changed

+52
-52
lines changed

rustfmt.toml

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,68 @@
1-
verbose = false
1+
array_layout = "Block"
2+
array_width = 60
3+
chain_indent = "Block"
4+
chain_one_line_max = 60
5+
chain_split_single_child = false
6+
closure_block_indent_threshold = 7
7+
combine_control_expr = true
8+
comment_width = 80
9+
condense_wildcard_suffixes = false
10+
control_brace_style = "AlwaysSameLine"
11+
control_style = "Rfc"
212
disable_all_formatting = false
3-
skip_children = false
4-
max_width = 120
513
error_on_line_overflow = true
6-
tab_spaces = 4
7-
fn_call_width = 60
8-
struct_lit_width = 18
9-
struct_variant_width = 35
10-
force_explicit_abi = true
11-
newline_style = "Unix"
14+
fn_args_density = "Tall"
15+
fn_args_layout = "Block"
16+
fn_args_paren_newline = false
1217
fn_brace_style = "SameLineWhere"
13-
item_brace_style = "SameLineWhere"
14-
control_style = "Rfc"
15-
control_brace_style = "AlwaysSameLine"
16-
impl_empty_single_line = true
17-
trailing_comma = "Vertical"
18+
fn_call_style = "Block"
19+
fn_call_width = 60
1820
fn_empty_single_line = true
19-
fn_single_line = false
2021
fn_return_indent = "WithArgs"
21-
fn_args_paren_newline = false
22-
fn_args_density = "Tall"
23-
fn_args_layout = "Block"
24-
array_layout = "Block"
25-
array_width = 60
26-
type_punctuation_density = "Wide"
27-
where_style = "Rfc"
28-
where_density = "CompressedIfEmpty"
29-
where_layout = "Vertical"
30-
where_pred_indent = "Visual"
22+
fn_single_line = false
23+
force_explicit_abi = true
24+
force_format_strings = false
25+
format_strings = false
3126
generics_indent = "Block"
32-
struct_lit_style = "Block"
33-
struct_lit_multiline_style = "PreferSingle"
34-
fn_call_style = "Block"
35-
report_todo = "Never"
36-
report_fixme = "Never"
37-
chain_indent = "Block"
38-
chain_one_line_max = 60
39-
chain_split_single_child = false
27+
hard_tabs = false
28+
impl_empty_single_line = true
29+
indent_match_arms = true
30+
item_brace_style = "SameLineWhere"
31+
match_block_trailing_comma = false
32+
max_width = 120
33+
newline_style = "Unix"
34+
normalize_comments = true
35+
reorder_imported_names = true
4036
reorder_imports = true
4137
reorder_imports_in_group = true
42-
reorder_imported_names = true
38+
report_fixme = "Never"
39+
report_todo = "Never"
4340
single_line_if_else_max_width = 50
44-
format_strings = false
45-
force_format_strings = false
46-
take_source_hints = false
47-
hard_tabs = false
48-
wrap_comments = false
49-
comment_width = 80
50-
normalize_comments = true
51-
wrap_match_arms = true
52-
match_block_trailing_comma = false
53-
indent_match_arms = true
54-
closure_block_indent_threshold = 7
55-
space_before_type_annotation = false
56-
space_after_type_annotation_colon = true
57-
space_before_struct_lit_field_colon = false
41+
skip_children = false
42+
space_after_bound_colon = true
5843
space_after_struct_lit_field_colon = true
44+
space_after_type_annotation_colon = true
5945
space_before_bound = false
60-
space_after_bound_colon = true
46+
space_before_struct_lit_field_colon = false
47+
space_before_type_annotation = false
6148
spaces_around_ranges = false
6249
spaces_within_angle_brackets = false
63-
spaces_within_square_brackets = false
6450
spaces_within_parens = false
51+
spaces_within_square_brackets = false
52+
struct_lit_multiline_style = "PreferSingle"
53+
struct_lit_style = "Block"
54+
struct_lit_width = 18
55+
struct_variant_width = 35
56+
tab_spaces = 4
57+
take_source_hints = false
58+
trailing_comma = "Vertical"
59+
type_punctuation_density = "Wide"
6560
use_try_shorthand = true
61+
verbose = false
62+
where_density = "CompressedIfEmpty"
63+
where_layout = "Vertical"
64+
where_pred_indent = "Visual"
65+
where_style = "Rfc"
66+
wrap_comments = false
67+
wrap_match_arms = true
6668
write_mode = "Replace"
67-
condense_wildcard_suffixes = false
68-
combine_control_expr = true

0 commit comments

Comments
 (0)