Skip to content

Commit

Permalink
Use Rust 2021 edition with rustfmt in CI
Browse files Browse the repository at this point in the history
We've long migrated to the 2021 edition everywhere. See PRs #1388, #1328,
and #1268.

See issue #1332 too.
  • Loading branch information
david-perez committed Sep 12, 2022
1 parent fd94858 commit 7511788
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ci-build/scripts/check-style-and-lints
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ sdk-lints check --all
sdk-lints fix --all

# shellcheck disable=SC2046
rustfmt --check --edition 2018 $(find . -name '*.rs' -print | grep -v /target/)
rustfmt --check --edition 2021 $(find . -name '*.rs' -print | grep -v /target/)

./gradlew -p buildSrc test
./gradlew ktlint

0 comments on commit 7511788

Please sign in to comment.