From 83b0559facd55bdf71327d99c672d37ebfe2c219 Mon Sep 17 00:00:00 2001 From: thirteenowls Date: Sun, 26 May 2024 19:55:07 +0200 Subject: [PATCH] Fix formatting check `cargo fmt` cannot see modules declared using macros. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aed51efc..4f8fb57d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,7 +38,7 @@ jobs: - name: Install Rust run: rustup update stable && rustup default stable - name: Check formatting - run: cargo fmt --all -- --check + run: rustfmt --check --edition 2021 $(git ls-files '*.rs') # This represents the minimum Rust version supported by # Bytes. Updating this should be done in a dedicated PR.