mirror of
https://github.com/chmln/sd
synced 2024-11-22 19:23:08 +00:00
Add rustfmt config
This commit is contained in:
parent
65b1aa57da
commit
4cc1fd9cf9
1 changed files with 11 additions and 0 deletions
11
.rustfmt.toml
Normal file
11
.rustfmt.toml
Normal file
|
@ -0,0 +1,11 @@
|
|||
edition = "2018"
|
||||
max_width = 80
|
||||
wrap_comments = true
|
||||
control_brace_style = "ClosingNextLine"
|
||||
format_strings = true
|
||||
merge_imports = true
|
||||
match_block_trailing_comma = true
|
||||
normalize_comments = true
|
||||
reorder_impl_items = true
|
||||
use_field_init_shorthand = true
|
||||
|
Loading…
Reference in a new issue