2019-01-10 00:25:07 +03:00
|
|
|
# Get help on options with `rustfmt --help=config`
|
2017-07-28 04:00:19 +03:00
|
|
|
# Please keep these in alphabetical order.
|
2019-01-10 00:25:07 +03:00
|
|
|
# Prefer to keep builtin and custom derives separate
|
2019-05-30 05:51:37 +03:00
|
|
|
edition = "2018"
|
2017-09-06 03:23:00 +03:00
|
|
|
merge_derives = false
|
2017-07-28 04:00:19 +03:00
|
|
|
reorder_imports = true
|
2019-01-10 00:25:07 +03:00
|
|
|
reorder_modules = true
|
2017-07-28 04:00:19 +03:00
|
|
|
tab_spaces = 4
|
2019-01-10 00:25:07 +03:00
|
|
|
use_field_init_shorthand = true
|
2017-07-28 04:00:19 +03:00
|
|
|
use_try_shorthand = true
|