improve rustfmt.toml

This commit is contained in:
Luro02 2020-04-09 09:28:50 +02:00
parent 7a918d31bd
commit ec0b5cdb21
No known key found for this signature in database
GPG Key ID: B66FD4F74501A9CF
1 changed files with 5 additions and 0 deletions

View File

@ -2,9 +2,14 @@ error_on_unformatted = true
edition = "2018"
fn_single_line = true
force_multiline_blocks = true
format_code_in_doc_comments = true
format_macro_matchers = true
format_macro_bodies = true
match_arm_blocks = true
reorder_impl_items = true
use_field_init_shorthand = true
wrap_comments = true
condense_wildcard_suffixes = true
unstable_features = true