aboutsummaryrefslogtreecommitdiffstats
path: root/rustfmt.toml
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2017-01-03 13:56:39 +0100
committerMs2ger <Ms2ger@gmail.com>2017-01-03 13:56:39 +0100
commitb214c3c1dabdf2f016bd5e60c065ba1edd48c349 (patch)
tree1fc71feebd43dd68c3f4611b49b20bb1138b52d1 /rustfmt.toml
parent955e2851bf715f2d7ec7898fdf9730b24fe69115 (diff)
downloadservo-b214c3c1dabdf2f016bd5e60c065ba1edd48c349.tar.gz
servo-b214c3c1dabdf2f016bd5e60c065ba1edd48c349.zip
Add rustfmt.toml.
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 00000000000..e2c132c09dd
--- /dev/null
+++ b/rustfmt.toml
@@ -0,0 +1,7 @@
+ideal_width = 80
+match_block_trailing_comma = true
+max_width = 120
+newline_style = "Unix"
+normalize_comments = false
+struct_lit_multiline_style = "ForceMulti"
+where_trailing_comma = true