We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d0a9d6 commit 7be120fCopy full SHA for 7be120f
ci/rustfmt.sh
@@ -13,9 +13,4 @@ VERS=""
13
[ "$(which rustup)" != "" ] && VERS="+1.63.0"
14
15
# Run fmt
16
-TMP_FILE=$(mktemp)
17
-git ls-files | grep '.rs$' | sort >"$TMP_FILE"
18
-for file in $(comm -23 "$TMP_FILE" rustfmt_excluded_files); do
19
- echo "Checking formatting of $file"
20
- rustfmt $VERS --edition 2021 --check "$file"
21
-done
+rustup run $VERS cargo fmt --check
contrib/run-rustfmt.sh
rustfmt_excluded_files
0 commit comments