From 43b41868bb9ac811564419954f2e49741dd7d9c9 Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Thu, 6 Jun 2024 09:30:30 +0200 Subject: [PATCH] Pass our `edition` to `rustfmt` .. as it otherwise doesn't seem to pick up the right one when checkin integration tests. --- ci/rustfmt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/rustfmt.sh b/ci/rustfmt.sh index a1fdf6bd7..1039429bc 100755 --- a/ci/rustfmt.sh +++ b/ci/rustfmt.sh @@ -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 -- 2.39.5