diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 890b4dc..327e4d0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,4 +27,4 @@ jobs: steps: - uses: actions/checkout@v2 - uses: dtolnay/rust-toolchain@clippy - - run: cargo clippy -- -Dclippy::all -Dclippy::pedantic + - run: cargo clippy --tests -- -Dclippy::all -Dclippy::pedantic diff --git a/tests/trait.rs b/tests/trait.rs index 4e997dd..180402d 100644 --- a/tests/trait.rs +++ b/tests/trait.rs @@ -1,3 +1,5 @@ +#![allow(clippy::semicolon_if_nothing_returned)] + use dyn_clone::DynClone; use std::fmt::{self, Display}; use std::sync::{Arc, Mutex};