Skip to content

Commit 3d52da9

Browse files
committed
Fmt check all
1 parent 7d0a9d6 commit 3d52da9

File tree

3 files changed

+1
-67
lines changed

3 files changed

+1
-67
lines changed

ci/rustfmt.sh

+1-6
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,4 @@ VERS=""
1313
[ "$(which rustup)" != "" ] && VERS="+1.63.0"
1414

1515
# 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
16+
cargo $VERS fmt --check

contrib/run-rustfmt.sh

-21
This file was deleted.

rustfmt_excluded_files

-40
This file was deleted.

0 commit comments

Comments
 (0)