diff --git a/ci/style.sh b/ci/style.sh index d1b639db5bb89..7e7d9a830db15 100755 --- a/ci/style.sh +++ b/ci/style.sh @@ -14,6 +14,9 @@ rustc ci/style.rs && ./style src command -v rustfmt rustfmt -V +# Run once to cover everything that doesn't have macros +cargo fmt + # Save a list of all source files tmpfile="file-list~" # trailing tilde for gitignore find src -name '*.rs' > "$tmpfile"