From b5ec937bdc459b2bae8b583d027a43c29203e475 Mon Sep 17 00:00:00 2001 From: dswij Date: Thu, 29 Feb 2024 02:48:39 +0800 Subject: [PATCH] chore: update rustdoc edition to 2021 --- .github/workflows/check_guides.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check_guides.sh b/.github/workflows/check_guides.sh index fc0d3af..2f5b795 100755 --- a/.github/workflows/check_guides.sh +++ b/.github/workflows/check_guides.sh @@ -30,7 +30,7 @@ EOF test_file() { echo "Testing: $f" - rustdoc --edition 2018 --test $1 -L "$value/target/debug/deps" + rustdoc --edition 2021 --test $1 -L "$value/target/debug/deps" } if [ -n "$1" ]; then