-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrustfmt.toml
More file actions
38 lines (28 loc) · 763 Bytes
/
rustfmt.toml
File metadata and controls
38 lines (28 loc) · 763 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
26
27
28
29
30
31
32
33
34
35
36
37
38
# style_edition = "2024"
max_width = 111
brace_style = "PreferSameLine"
empty_item_single_line = true
enum_discrim_align_threshold = 45
struct_field_align_threshold = 45
format_code_in_doc_comments = true
format_strings = true
fn_params_layout = "Compressed"
fn_single_line = true
short_array_element_width_threshold = 30
hard_tabs = true
unstable_features = true
use_field_init_shorthand = true
wrap_comments = true
format_macro_matchers = true
format_macro_bodies = true
attr_fn_like_width = 110
array_width = 110
fn_call_width = 110
chain_width = 110
comment_width = 110
struct_lit_width = 110
struct_variant_width = 110
single_line_if_else_max_width = 110
imports_granularity = "Module"
imports_layout="Horizontal"
match_block_trailing_comma = true