summaryrefslogtreecommitdiff
path: root/rustfmt.toml
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2017-01-27 22:56:04 +0100
committerAnthony Ramine <n.oxyde@gmail.com>2017-01-27 22:56:04 +0100
commit8e5cf19e0740afabf8f8254441e88c756240fcb1 (patch)
tree2fbe529cb360dc7442398f1aa95038bbc06388ad /rustfmt.toml
parent9aefb1c02d8cb5746f07dc6ac461ce8eedced5e3 (diff)
Reformat with rustfmt
Diffstat (limited to 'rustfmt.toml')
-rw-r--r--rustfmt.toml7
1 files changed, 7 insertions, 0 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
new file mode 100644
index 0000000..70b05df
--- /dev/null
+++ b/rustfmt.toml
@@ -0,0 +1,7 @@
+match_block_trailing_comma = true
+max_width = 80
+newline_style = "Unix"
+reorder_imported_names = true
+reorder_imports = true
+use_try_shorthand = true
+where_trailing_comma = true