diff --git a/.github/workflows/check-static.yml b/.github/workflows/check-static.yml index 87aec52..3c5d493 100644 --- a/.github/workflows/check-static.yml +++ b/.github/workflows/check-static.yml @@ -10,4 +10,4 @@ jobs: - uses: dtolnay/rust-toolchain@stable - run: cargo fmt --all -- --check - - run: cargo clippy --all-features --all --tests -- -D clippy::all + - run: cargo clippy --all-features --all --tests -- -D clippy::correctness diff --git a/lib/src/lib.rs b/lib/src/lib.rs index f9ff030..6ba0117 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -173,7 +173,7 @@ impl FromStr for Platform { .header("Expected:") }; let examples_section = || { - vec!["linux/amd64/v7", "darwin/arm64"] + ["linux/amd64/v7", "darwin/arm64"] .join("\n") .header("Examples:") };