X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=ci%2Frustfmt.sh;h=1039429bc6ae5e6cf7a377ad6a679eee143609a5;hb=65efd92c4a931b3b3622c84c6055bc015152fde0;hp=a1fdf6bd7f3282ff669944335e9d029d2a21989f;hpb=2b14cc40a6acf226aafaddd0efe67264c0df706f;p=rust-lightning diff --git a/ci/rustfmt.sh b/ci/rustfmt.sh index a1fdf6bd..1039429b 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