summaryrefslogtreecommitdiffstats
path: root/rustfmt.toml
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2020-02-17 18:08:47 -0500
committerAndrew Gallant <jamslam@gmail.com>2020-02-17 19:24:53 -0500
commit0bc4f0447b05468f043e06278a3ca2b1c5646f9b (patch)
tree8a7e03399262af04a47ad1397fca74f654bfea5b /rustfmt.toml
parentc95f29e3ba46ef622481995ab01fd9f4e931345c (diff)
style: rustfmt everything
This is why I was so intent on clearing the PR queue. This will effectively invalidate all existing patches, so I wanted to start from a clean slate. We do make one little tweak: we put the default type definitions in their own file and tell rustfmt to keep its grubby mits off of it. We also sort it lexicographically and hopefully will enforce that from here on.
Diffstat (limited to 'rustfmt.toml')
-rw-r--r--rustfmt.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
index c7ad93ba..aa37a218 100644
--- a/rustfmt.toml
+++ b/rustfmt.toml
@@ -1 +1,2 @@
-disable_all_formatting = true
+max_width = 79
+use_small_heuristics = "max"