-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.rustfmt.toml
More file actions
34 lines (33 loc) · 800 Bytes
/
.rustfmt.toml
File metadata and controls
34 lines (33 loc) · 800 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
34
# https://github.com/rust-lang-nursery/rustfmt/blob/master/Configurations.md
fn_args_layout = "Tall"
force_explicit_abi = true
hard_tabs = false
match_arm_leading_pipes = "Never"
max_width = 80
merge_derives = true
newline_style = "Unix"
remove_nested_parens = true
reorder_imports = false
reorder_modules = false
tab_spaces = 4
use_field_init_shorthand = true
use_small_heuristics = "Default"
use_try_shorthand = false
# issue #3346
# indent_style = "Block"
# issue #3343
# inline_attribute_width = 80
# issue #3368
# binop_separator = "Back"
# issue #3359
# where_single_line = true
# issue #3353
# format_strings = true
# issue #3380
# match_block_trailing_comma = true
# issue #3374
# force_multiline_blocks = true
# issue #3350
# normalize_comments = true
# issue #3347
# wrap_comments = true