diff options
author | softprops <d.tangren@gmail.com> | 2017-09-09 14:16:55 -0400 |
---|---|---|
committer | softprops <d.tangren@gmail.com> | 2017-09-09 14:16:55 -0400 |
commit | 022388eb97c95e8383cd947c31f5f0dbc3798fbf (patch) | |
tree | f0a0ce2e206d5a2d70033b8f40f54493d5e33a42 /rustfmt.toml | |
parent | 51751f08f8f3e840ea349518536d9316888071d6 (diff) |
code style enforcement
Diffstat (limited to 'rustfmt.toml')
-rw-r--r-- | rustfmt.toml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..d83987d --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,10 @@ +# keep imports tidy +reorder_imported_names = true +reorder_imports = true +reorder_imports_in_group = true +# there is no try! +use_try_shorthand = true +# don't create rustfmt artifacts +write_mode = "Replace" +# reduce wide load +max_width = 80
\ No newline at end of file |