add rust formatting rules
This commit is contained in:
parent
35e9c7e6de
commit
84f334dc49
7 changed files with 32 additions and 15 deletions
7
rustfmt.toml
Normal file
7
rustfmt.toml
Normal file
|
@ -0,0 +1,7 @@
|
|||
indent_style = "Block"
|
||||
wrap_comments = true
|
||||
format_code_in_doc_comments = true
|
||||
trailing_comma = "Vertical"
|
||||
group_imports = "StdExternalCrate"
|
||||
reorder_impl_items = true
|
||||
unstable_features = true
|
Loading…
Add table
Add a link
Reference in a new issue