Skip to content

Commit

Permalink
Run clippy on test suite too
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Sep 30, 2021
1 parent 15c5881 commit 07b1c41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions tests/trait.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![allow(clippy::semicolon_if_nothing_returned)]

use dyn_clone::DynClone;
use std::fmt::{self, Display};
use std::sync::{Arc, Mutex};
Expand Down

0 comments on commit 07b1c41

Please sign in to comment.