Expose send_payment_for_bolt12_invoice
[rust-lightning] / ci / rustfmt.sh
index a1fdf6bd7f3282ff669944335e9d029d2a21989f..1039429bc6ae5e6cf7a377ad6a679eee143609a5 100755 (executable)
@@ -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