forked from vv9k/wutag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrustfmt.toml
24 lines (23 loc) · 850 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
comment_width = 80
edition = "2018"
error_on_line_overflow = true
error_on_unformatted = true
format_code_in_doc_comments = true
format_macro_bodies = true
format_strings = true
imports_granularity = "Crate"
match_arm_blocks = false
match_block_trailing_comma = true
max_width = 100
newline_style = "Unix"
normalize_comments = true
overflow_delimited_expr = true
reorder_impl_items = true
struct_field_align_threshold = 20
tab_spaces = 4
unstable_features = true
use_field_init_shorthand = true
use_try_shorthand = true
wrap_comments = true
color = "always"
combine_control_expr = true # foo!(if x {...