Skip to content

Commit f14a7f5

Browse files
committed
chore(ci): fix rustfmt edition to 2018
1 parent 0a4725e commit f14a7f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343

4444
- name: cargo fmt --check
4545
run: |
46-
if ! rustfmt --check --edition 2021 $(git ls-files '*.rs'); then
47-
printf "Please run \`rustfmt --edition 2021 \$(git ls-files '*.rs')\` to fix rustfmt errors.\nSee CONTRIBUTING.md for more details.\n" >&2
46+
if ! rustfmt --check --edition 2018 $(git ls-files '*.rs'); then
47+
printf "Please run \`rustfmt --edition 2018 \$(git ls-files '*.rs')\` to fix rustfmt errors.\nSee CONTRIBUTING.md for more details.\n" >&2
4848
exit 1
4949
fi
5050

0 commit comments

Comments
 (0)