mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
change veloren code style
This commit is contained in:
parent
7940ced71e
commit
3671c8867a
17
.rustfmt.toml
Normal file
17
.rustfmt.toml
Normal file
@ -0,0 +1,17 @@
|
||||
hard_tabs = false
|
||||
version = "Two"
|
||||
|
||||
format_code_in_doc_comments = true
|
||||
format_strings = true
|
||||
wrap_comments = true
|
||||
normalize_doc_attributes = true
|
||||
|
||||
use_try_shorthand = true
|
||||
reorder_impl_items = true
|
||||
|
||||
fn_single_line = true
|
||||
inline_attribute_width = 50
|
||||
match_block_trailing_comma = true
|
||||
merge_imports = true
|
||||
overflow_delimited_expr = true
|
||||
use_field_init_shorthand = true
|
Loading…
Reference in New Issue
Block a user