Setup and apply formatting
This commit is contained in:
parent
2cd702818e
commit
20bd1db1b7
5 changed files with 188 additions and 139 deletions
25
.rustfmt.toml
Normal file
25
.rustfmt.toml
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
match_block_trailing_comma = true
|
||||
max_width = 80
|
||||
reorder_imports = false
|
||||
reorder_modules = false
|
||||
use_field_init_shorthand = true
|
||||
use_try_shorthand = true
|
||||
|
||||
# blank_lines_lower_bound = 1
|
||||
# not stabilized yet
|
||||
# where_single_line = true
|
||||
# overflow_delimited_expr = true
|
||||
# normalize_doc_attributes = true
|
||||
# normalize_comments = true
|
||||
# inline_attribute_width = 40
|
||||
# imports_granularity = "Crate"
|
||||
# hex_literal_case = "Lower"
|
||||
# group_imports = "StdExternalCrate"
|
||||
# format_strings = true
|
||||
# force_multiline_blocks = true
|
||||
# error_on_unformatted = true
|
||||
# error_on_line_overflow = true
|
||||
# condense_wildcard_suffixes = true
|
||||
# doc_comment_code_block_width = 70
|
||||
# format_code_in_doc_comments = true
|
||||
# wrap_comments = true
|
||||
Loading…
Add table
Add a link
Reference in a new issue