mirror of
https://github.com/alacritty/alacritty.git
synced 2025-10-30 23:36:53 -04:00
Add rustfmt style guide
This commit is contained in:
parent
91aa683bcd
commit
cfd025b528
57 changed files with 1895 additions and 2412 deletions
13
rustfmt.toml
Normal file
13
rustfmt.toml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
match_block_trailing_comma = true
|
||||
condense_wildcard_suffixes = true
|
||||
use_field_init_shorthand = true
|
||||
overflow_delimited_expr = true
|
||||
use_small_heuristics = "Max"
|
||||
format_doc_comments = true
|
||||
normalize_comments = true
|
||||
reorder_impl_items = true
|
||||
use_try_shorthand = true
|
||||
newline_style = "Unix"
|
||||
format_strings = true
|
||||
wrap_comments = true
|
||||
comment_width = 100
|
||||
Loading…
Add table
Add a link
Reference in a new issue