Skip to content

Commit a0b8526

Browse files
committed
Use default of rustfmt 0.6
1 parent 832685e commit a0b8526

File tree

1 file changed

+36
-46
lines changed

1 file changed

+36
-46
lines changed

rustfmt.toml

Lines changed: 36 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,58 @@
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
1+
binop_separator = "Front"
2+
blank_lines_lower_bound = 0
3+
blank_lines_upper_bound = 1
4+
brace_style = "SameLineWhere"
5+
color = "Auto"
76
combine_control_expr = true
87
comment_width = 80
98
condense_wildcard_suffixes = false
109
control_brace_style = "AlwaysSameLine"
11-
control_style = "Rfc"
1210
disable_all_formatting = false
13-
error_on_line_overflow = true
11+
empty_item_single_line = true
12+
error_on_line_overflow = false
13+
error_on_unformatted = false
1414
fn_args_density = "Tall"
15-
fn_args_layout = "Block"
16-
fn_args_paren_newline = false
17-
fn_brace_style = "SameLineWhere"
18-
fn_call_style = "Block"
19-
fn_call_width = 60
20-
fn_empty_single_line = true
21-
fn_return_indent = "WithArgs"
2215
fn_single_line = false
2316
force_explicit_abi = true
24-
force_format_strings = false
17+
force_multiline_blocks = false
2518
format_strings = false
26-
generics_indent = "Block"
2719
hard_tabs = false
28-
impl_empty_single_line = true
29-
indent_match_arms = true
30-
item_brace_style = "SameLineWhere"
20+
hide_parse_errors = false
21+
ignore = []
22+
imports_indent = "Visual"
23+
imports_layout = "Mixed"
24+
indent_style = "Block"
25+
license_template_path = ""
26+
match_arm_blocks = true
3127
match_block_trailing_comma = false
3228
max_width = 120
29+
merge_derives = true
30+
merge_imports = false
3331
newline_style = "Unix"
34-
normalize_comments = true
35-
reorder_imported_names = true
32+
normalize_comments = false
33+
remove_blank_lines_at_start_or_end_of_block = true
34+
reorder_impl_items = false
3635
reorder_imports = true
37-
reorder_imports_in_group = true
36+
reorder_modules = true
3837
report_fixme = "Never"
3938
report_todo = "Never"
40-
single_line_if_else_max_width = 50
39+
required_version = "0.6.0"
4140
skip_children = false
42-
space_after_bound_colon = true
43-
space_after_struct_lit_field_colon = true
44-
space_after_type_annotation_colon = true
45-
space_before_bound = false
46-
space_before_struct_lit_field_colon = false
47-
space_before_type_annotation = false
41+
space_after_colon = true
42+
space_before_colon = false
4843
spaces_around_ranges = false
49-
spaces_within_angle_brackets = false
50-
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
44+
spaces_within_parens_and_brackets = false
45+
struct_field_align_threshold = 0
46+
struct_lit_single_line = true
5647
tab_spaces = 4
57-
take_source_hints = false
5848
trailing_comma = "Vertical"
49+
trailing_semicolon = true
5950
type_punctuation_density = "Wide"
60-
use_try_shorthand = true
61-
verbose = false
62-
where_density = "CompressedIfEmpty"
63-
where_layout = "Vertical"
64-
where_pred_indent = "Visual"
65-
where_style = "Rfc"
51+
unstable_features = false
52+
use_field_init_shorthand = false
53+
use_small_heuristics = true
54+
use_try_shorthand = false
55+
verbose_diff = false
56+
where_single_line = false
6657
wrap_comments = false
67-
wrap_match_arms = true
68-
write_mode = "Replace"
58+
write_mode = "Overwrite"

0 commit comments

Comments
 (0)