about summary refs log tree commit diff
path: root/rustfmt.toml
diff options
context:
space:
mode:
authorklensy <klensy@users.noreply.github.com>2024-01-11 14:59:59 +0300
committerklensy <klensy@users.noreply.github.com>2024-01-11 14:59:59 +0300
commit4580f4ab3f098e8f2ff2050626440cba52894c12 (patch)
tree6c1410a3a9ba1419dc87323f8cbffd3df2b1debc /rustfmt.toml
parent3a6bf351a39b35a662022c151621b932b4ae0bc8 (diff)
downloadrust-4580f4ab3f098e8f2ff2050626440cba52894c12.tar.gz
rust-4580f4ab3f098e8f2ff2050626440cba52894c12.zip
rustfmt.toml: don't ignore just any `tests` path, only root one
Diffstat (limited to 'rustfmt.toml')
-rw-r--r--rustfmt.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/rustfmt.toml b/rustfmt.toml
index e292a310742..e6cc298ec44 100644
--- a/rustfmt.toml
+++ b/rustfmt.toml
@@ -13,7 +13,7 @@ ignore = [
 
     # tests for now are not formatted, as they are sometimes pretty-printing constrained
     # (and generally rustfmt can move around comments in UI-testing incompatible ways)
-    "tests",
+    "/tests/",
 
     # do not format submodules
     # FIXME: sync submodule list with tidy/bootstrap/etc