summaryrefslogtreecommitdiff
path: root/rustfmt.toml
diff options
context:
space:
mode:
Diffstat (limited to 'rustfmt.toml')
-rw-r--r--rustfmt.toml5
1 files changed, 5 insertions, 0 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
new file mode 100644
index 0000000..26527d9
--- /dev/null
+++ b/rustfmt.toml
@@ -0,0 +1,5 @@
+# UNSTABLE - this setting can eat comments in `use` blocks. See
+# <https://github.com/rust-lang/rustfmt/issues/4991> for details.
+#
+# Yes, this is why the `check-format` and `reformat` tools use `+nightly`.
+imports_granularity = "crate"