First step towards denying clippy::integer_arithmetic (bp #15366) (#15381)

* CI: Globally deny clippy::integer_arithmetic lint

(cherry picked from commit 7035e8485c)

* Re-allow clippy::integer_arithmetic at crate-level

(cherry picked from commit 7f7370c306)

# Conflicts:
#	bench-tps/tests/bench_tps.rs

Co-authored-by: Trent Nelson <trent@solana.com>
This commit is contained in:
mergify[bot]
2021-02-17 22:30:03 +00:00
committed by GitHub
parent 723c03dfbd
commit 1a8b57fcd0
75 changed files with 75 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
//! The `net_utils` module assists with networking
#![allow(clippy::integer_arithmetic)]
use {
log::*,
rand::{thread_rng, Rng},