-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrustfmt.toml
More file actions
33 lines (33 loc) · 786 Bytes
/
rustfmt.toml
File metadata and controls
33 lines (33 loc) · 786 Bytes
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
attr_fn_like_width=80
brace_style="SameLineWhere"
chain_width=80
control_brace_style="AlwaysSameLine"
comment_width=80
error_on_line_overflow=true
fn_args_layout="Tall"
fn_call_width=80
fn_params_layout="Tall"
format_code_in_doc_comments=true
group_imports="StdExternalCrate"
hard_tabs=false
imports_granularity="Module"
indent_style="Block"
max_width=100
merge_derives=true
newline_style="Unix"
normalize_comments=true
remove_nested_parens=true
reorder_impl_items=true
reorder_imports=true
reorder_modules=true
single_line_if_else_max_width=80
space_after_colon=true
spaces_before_color=false
spaces_around_ranges=false
tab_spaces=4
trailing_comma="Vertical"
unstable_features=true
use_field_init_shorthand=true
use_small_heuristics="Default"
where_single_line=true
wrap_comments=true