Add some potentially sane rustfmt options.
Change-Id: I76debba2f2caee5848f115064fd58e1d72b94308
This commit is contained in:
parent
679fa92a56
commit
08ac56a6bb
|
@ -1 +1,11 @@
|
|||
# Merge similar crates together to avoid multiple use statements.
|
||||
imports_granularity = "Crate"
|
||||
|
||||
# Consistency in formatting makes tool based searching/editing better.
|
||||
empty_item_single_line = false
|
||||
|
||||
# Easier editing when arbitrary mixed use statements do not collapse.
|
||||
imports_layout = "HorizontalVertical"
|
||||
|
||||
# Default rustfmt formatting of match arms with branches is awful.
|
||||
match_arm_leading_pipes = "Preserve"
|
||||
|
|
Loading…
Reference in New Issue