-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathrustfmt.toml
More file actions
21 lines (20 loc) · 782 Bytes
/
rustfmt.toml
File metadata and controls
21 lines (20 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
edition = "2018"
brace_style = "PreferSameLine"
color = "Always"
fn_args_layout = "Compressed"
fn_single_line = true
format_code_in_doc_comments = true
format_macro_matchers = true
format_macro_bodies = true
format_strings = true
inline_attribute_width = 80
max_width = 120
imports_granularity = "crate"
normalize_doc_attributes = true
reorder_impl_items = true
reorder_imports = true
reorder_modules = true
use_field_init_shorthand = true
use_try_shorthand = true
where_single_line = true
wrap_comments = true