-
Notifications
You must be signed in to change notification settings - Fork 4
/
rustfmt.toml
29 lines (27 loc) · 967 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
# Uncomment and use this with `cargo +nightly fmt`:
# unstable_features = true
# format_code_in_doc_comments = true
edition = "2018"
# indent_style = "Block"
reorder_imports = true
imports_granularity="Crate"
# 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
# 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 = 2
# unstable_features = true
# use_field_init_shorthand = true
# use_try_shorthand = true
# wrap_comments = true