change veloren code style

This commit is contained in:
Marcel Märtens 2019-11-19 15:11:13 +01:00
parent 7940ced71e
commit 3671c8867a

17
.rustfmt.toml Normal file
View 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