From 8ba6242484308959bc24e84a8a77a28101679e1e Mon Sep 17 00:00:00 2001 From: Ian McIntyre Date: Sat, 29 Oct 2022 15:47:16 -0400 Subject: Explicitly match family variants in host impl Might help the next person who wants to add a new family. There's a way to defeat this lint when the enum is (Partial)Eq: use if / else to emulate a fallthrough. I can't find _another_ lint that would prevent that pattern, so I'll try to be vigilent here. --- .github/workflows/rust.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.github/workflows/rust.yaml') diff --git a/.github/workflows/rust.yaml b/.github/workflows/rust.yaml index 2e03ee4..0f3616c 100644 --- a/.github/workflows/rust.yaml +++ b/.github/workflows/rust.yaml @@ -33,7 +33,7 @@ jobs: uses: actions-rs/clippy-check@v1 with: token: ${{ secrets.GITHUB_TOKEN }} - args: --package=imxrt-rt --tests + args: --package=imxrt-rt --tests -- -D warnings tests: runs-on: ubuntu-latest -- cgit v1.2.3