-
Notifications
You must be signed in to change notification settings - Fork 1
/
rustfmt.toml
29 lines (29 loc) · 785 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
brace_style = "PreferSameLine"
comment_width = 99
combine_control_expr = true
control_brace_style = "ClosingNextLine"
format_code_in_doc_comments = true
format_strings = true
fn_args_layout = "Compressed"
group_imports = "StdExternalCrate"
hex_literal_case = "Lower"
imports_granularity = "Item"
match_arm_blocks = false
match_block_trailing_comma = true
max_width = 99
merge_derives = true
newline_style = "Unix"
normalize_doc_attributes = true
overflow_delimited_expr = true
remove_nested_parens = true
reorder_impl_items = true
reorder_imports = true
reorder_modules = true
short_array_element_width_threshold = 20
tab_spaces = 2
trailing_comma = "Vertical"
trailing_semicolon = true
use_field_init_shorthand = true
use_small_heuristics = "Max"
version = "Two"
wrap_comments = true