summaryrefslogtreecommitdiff
path: root/.rustfmt.toml
diff options
context:
space:
mode:
authorBert Belder <bertbelder@gmail.com>2019-02-08 19:51:46 -0800
committerBert Belder <bertbelder@gmail.com>2019-02-08 20:06:21 -0800
commit7380b19459db3644271f1623428245e29e716f0a (patch)
tree706e224c9e108ad33123609147e48172cf7e7eea /.rustfmt.toml
parent394b81de15bb158908607a0b3740dd6dbc438417 (diff)
Make rustfmt format macro bodies also
This makes it possible to use cfg_if! conveniently.
Diffstat (limited to '.rustfmt.toml')
-rw-r--r--.rustfmt.toml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.rustfmt.toml b/.rustfmt.toml
index faa3d5a33..1778bd9e2 100644
--- a/.rustfmt.toml
+++ b/.rustfmt.toml
@@ -1,3 +1,4 @@
# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
max_width = 80
tab_spaces = 2
+format_macro_bodies = true