-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.rustfmt.toml
More file actions
25 lines (24 loc) · 648 Bytes
/
.rustfmt.toml
File metadata and controls
25 lines (24 loc) · 648 Bytes
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
style_edition = "2024"
unstable_features = true
blank_lines_lower_bound = 0
blank_lines_upper_bound = 2
brace_style = "PreferSameLine"
enum_discrim_align_threshold = 32
fn_params_layout = "Compressed"
fn_single_line = false
format_code_in_doc_comments = true
imports_granularity = "Module"
newline_style = "Unix"
normalize_comments = true
normalize_doc_attributes = true
overflow_delimited_expr = true
reorder_impl_items = true
struct_field_align_threshold = 32
struct_lit_single_line = true
use_field_init_shorthand = true
use_try_shorthand = true
wrap_comments = false
max_width = 100
chain_width = 80
fn_call_width = 80
attr_fn_like_width = 80