From 4580f4ab3f098e8f2ff2050626440cba52894c12 Mon Sep 17 00:00:00 2001 From: klensy Date: Thu, 11 Jan 2024 14:59:59 +0300 Subject: [PATCH] rustfmt.toml: don't ignore just any `tests` path, only root one --- rustfmt.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rustfmt.toml b/rustfmt.toml index e292a3107420..e6cc298ec44c 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