-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrustfmt.toml
More file actions
29 lines (29 loc) · 721 Bytes
/
rustfmt.toml
File metadata and controls
29 lines (29 loc) · 721 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
tab_spaces = 4
max_width = 100
comment_width = 100
doc_comment_code_block_width = 100
fn_call_width = 100
fn_args_layout = "Tall"
fn_params_layout = "Tall"
indent_style = "Block"
imports_indent = "Block"
imports_layout = "Vertical"
newline_style = "Unix"
trailing_comma = "Vertical"
type_punctuation_density = "Wide"
error_on_line_overflow = true
error_on_unformatted = true
format_code_in_doc_comments = true
format_strings = true
hard_tabs = false
normalize_comments = true
normalize_doc_attributes = true
remove_nested_parens = true
reorder_imports = true
reorder_modules = true
space_after_colon = true
space_before_colon = false
spaces_around_ranges = false
wrap_comments = true
trailing_semicolon = true
ignore = []