Run clippy on test suite too
This commit is contained in:
parent
462ada420f
commit
8f58e3f645
|
@ -51,4 +51,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
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
#![cfg_attr(feature = "cargo-clippy", allow(cast_lossless, string_lit_as_bytes))]
|
||||
#![cfg_attr(
|
||||
feature = "cargo-clippy",
|
||||
allow(cast_lossless, string_lit_as_bytes, unseparated_literal_suffix)
|
||||
)]
|
||||
#![allow(non_snake_case)]
|
||||
|
||||
extern crate itoa;
|
||||
|
|
Loading…
Reference in New Issue