Allow clippy::unit_arg because of derive(Arbitrary)

This commit is contained in:
Deirdre Connolly 2020-08-16 21:31:28 -04:00 committed by Henry de Valence
parent d57390d265
commit 25f63518f4
2 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
//! Blocks and block-related structures (heights, headers, etc.)
#![allow(clippy::unit_arg)]
mod hash;
mod header;

View File

@ -9,6 +9,7 @@
//! The block work is used to find the chain with the greatest total work. Each
//! block's work value depends on the fixed threshold in the block header, not
//! the actual work represented by the block header hash.
#![allow(clippy::unit_arg)]
use crate::block;