Skip to content

Commit 43b4186

Browse files
committed
Pass our edition to rustfmt
.. as it otherwise doesn't seem to pick up the right one when checkin integration tests.
1 parent 21fee20 commit 43b4186

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/rustfmt.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ TMP_FILE=$(mktemp)
1515
find . -name '*.rs' -type f |sort >$TMP_FILE
1616
for file in $(comm -23 $TMP_FILE rustfmt_excluded_files); do
1717
echo "Checking formatting of $file"
18-
rustfmt $VERS --check $file
18+
rustfmt $VERS --edition 2021 --check $file
1919
done

0 commit comments

Comments
 (0)