From 6575abcb3633f0cb77a1ab1c388108dd1cd3c849 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Mon, 10 Feb 2020 19:08:24 -0800 Subject: [PATCH] Don't rustfmt the vendor directory. --- rustfmt.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/rustfmt.toml b/rustfmt.toml index 2a034845c6e0b..8f4c901fb9740 100644 --- a/rustfmt.toml +++ b/rustfmt.toml @@ -7,6 +7,7 @@ merge_derives = false # tidy only checks files which are not ignored, each entry follows gitignore style ignore = [ "build", + "/vendor/", # 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)