Add rustfmt config

This commit is contained in:
Greg 2018-12-29 18:07:50 -05:00
parent 65b1aa57da
commit 4cc1fd9cf9

11
.rustfmt.toml Normal file
View file

@ -0,0 +1,11 @@
edition = "2018"
max_width = 80
wrap_comments = true
control_brace_style = "ClosingNextLine"
format_strings = true
merge_imports = true
match_block_trailing_comma = true
normalize_comments = true
reorder_impl_items = true
use_field_init_shorthand = true