-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrustfmt.toml
54 lines (35 loc) · 970 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
combine_control_expr = false
wrap_comments = true
comment_width = 70
control_brace_style = "AlwaysSameLine"
fn_args_layout = "Tall"
fn_single_line = false
force_explicit_abi = false
force_multiline_blocks = false
format_code_in_doc_comments = true
format_macro_matchers = true
format_macro_bodies = true
tab_spaces = 4
hard_tabs = true
imports_indent = "Visual"
imports_layout = "HorizontalVertical"
imports_granularity = "Crate"
indent_style = "Block"
match_block_trailing_comma = true
trailing_comma = "Never"
trailing_semicolon = true
max_width = 120
newline_style = "Unix"
normalize_comments = false
overflow_delimited_expr = true
remove_nested_parens = true
reorder_impl_items = true
reorder_imports = false
group_imports = "StdExternalCrate"
space_after_colon = true
space_before_colon = false
spaces_around_ranges = false
struct_lit_single_line = false
type_punctuation_density = "Wide"
use_field_init_shorthand = true
use_try_shorthand = true