forked from Conflux-Chain/conflux-rust
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rustfmt.toml
32 lines (32 loc) · 838 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
unstable_features = true
max_width = 80
comment_width = 80
wrap_comments = true
tab_spaces = 4
trailing_comma = "Vertical"
format_code_in_doc_comments = true
format_strings = false
error_on_line_overflow = false
fn_args_layout = "Compressed"
fn_single_line = true
where_single_line = true
reorder_imports = true
reorder_modules = true
reorder_impl_items = true
merge_imports = true
struct_lit_single_line = true
indent_style = "Block"
binop_separator = "Front"
combine_control_expr = false
condense_wildcard_suffixes = false
control_brace_style = "AlwaysSameLine"
brace_style = "SameLineWhere"
empty_item_single_line = true
enum_discrim_align_threshold = 0
use_field_init_shorthand = true
space_after_colon = true
imports_layout = "Mixed"
imports_indent = "Block"
hard_tabs = false
format_macro_matchers = true
format_macro_bodies = true