summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilio Cobos Álvarez <ecoal95@gmail.com>2016-11-01 12:27:18 +0100
committerEmilio Cobos Álvarez <ecoal95@gmail.com>2016-11-01 17:00:35 +0100
commit010e191295b2dba65dff47362b23bfdd66e1e608 (patch)
tree007e1c6db1d6c394fc153cb00e4eaa9b1b7d296e
parent3f5d045ca08d1e7f25213e51e854ecf86d88218f (diff)
Add rustfmt.toml
-rw-r--r--rustfmt.toml11
1 files changed, 11 insertions, 0 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
new file mode 100644
index 00000000..6677939b
--- /dev/null
+++ b/rustfmt.toml
@@ -0,0 +1,11 @@
+max_width = 80
+format_strings = false
+wrap_comments = true
+fn_brace_style = "SameLineWhere"
+item_brace_style = "SameLineWhere"
+struct_lit_multiline_style = "ForceMulti"
+where_trailing_comma = true
+reorder_imports = true
+reorder_imported_names = true
+normalize_comments = false
+write_mode = "Overwrite"