Skip to content

Commit

Permalink
Pass our edition to rustfmt
Browse files Browse the repository at this point in the history
.. as it otherwise doesn't seem to pick up the right one when checkin
integration tests.
  • Loading branch information
tnull committed Jun 7, 2024
1 parent 21fee20 commit 43b4186
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/rustfmt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ TMP_FILE=$(mktemp)
find . -name '*.rs' -type f |sort >$TMP_FILE
for file in $(comm -23 $TMP_FILE rustfmt_excluded_files); do
echo "Checking formatting of $file"
rustfmt $VERS --check $file
rustfmt $VERS --edition 2021 --check $file
done

0 comments on commit 43b4186

Please sign in to comment.