diff --git a/rustfmt.toml b/rustfmt.toml index ef56059feb1c..1643139cc2d7 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -3,7 +3,6 @@ version = "Two" use_small_heuristics = "Max" merge_derives = false -# by default we ignore everything in the repository # tidy only checks files which are not ignored, each entry follows gitignore style ignore = [ "/build/", @@ -18,7 +17,7 @@ ignore = [ # but we still want to format rmake.rs files in tests/run-make/ so we need to do this # dance to avoid the parent directory from being excluded "!/tests/run-make/", - "/tests/run-make/*/*.rs", + "/tests/run-make/*", "!/tests/run-make/*/rmake.rs", # do not format submodules