Skip to content

Commit

Permalink
Use Rust 2021 edition with rustfmt in CI (#1728)
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 authored Sep 13, 2022
1 parent fd94858 commit b4ac306
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 b4ac306

Please sign in to comment.