diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6dd94c9..6921669 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -40,4 +40,4 @@ jobs: steps: - uses: actions/checkout@v2 - uses: dtolnay/rust-toolchain@clippy - - run: cargo clippy --tests -- -Dclippy::all -Dclippy::pedantic + - run: cargo clippy --tests --benches -- -Dclippy::all -Dclippy::pedantic diff --git a/benches/bench.rs b/benches/bench.rs index a81b682..b04e5e4 100644 --- a/benches/bench.rs +++ b/benches/bench.rs @@ -1,4 +1,9 @@ #![feature(test)] +#![allow( + clippy::approx_constant, + clippy::excessive_precision, + clippy::unreadable_literal +)] extern crate test;