clippy: Configure lint `unwrap_used`
By setting `allow-unwrap-in-tests`, we can avoid repeating `allow(clippy::unwrap_used)` many times over.
This commit is contained in:
parent
dbec748c47
commit
c23a257f3c
|
|
@ -0,0 +1 @@
|
|||
allow-unwrap-in-tests = true
|
||||
|
|
@ -1,4 +1,3 @@
|
|||
#![allow(clippy::unwrap_used)]
|
||||
use std::marker::PhantomData;
|
||||
use std::ops::Deref;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
#![allow(clippy::unwrap_used)]
|
||||
|
||||
use crypto::{signature, test::signer::MockSigner, PublicKey, Signer as _};
|
||||
use qcheck::TestResult;
|
||||
use qcheck_macros::quickcheck;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
#![allow(clippy::unwrap_used)]
|
||||
|
||||
mod mock;
|
||||
use mock::*;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
#![allow(clippy::unwrap_used)]
|
||||
|
||||
mod mock;
|
||||
|
||||
mod commit_reader;
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
#![allow(clippy::unwrap_used)]
|
||||
|
||||
mod mock;
|
||||
|
||||
mod commit_writer;
|
||||
|
|
|
|||
Loading…
Reference in New Issue