Allow clippy::unit_arg because of derive(Arbitrary)
This commit is contained in:
parent
d57390d265
commit
25f63518f4
|
@ -1,4 +1,5 @@
|
||||||
//! Blocks and block-related structures (heights, headers, etc.)
|
//! Blocks and block-related structures (heights, headers, etc.)
|
||||||
|
#![allow(clippy::unit_arg)]
|
||||||
|
|
||||||
mod hash;
|
mod hash;
|
||||||
mod header;
|
mod header;
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
//! The block work is used to find the chain with the greatest total work. Each
|
//! 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
|
//! block's work value depends on the fixed threshold in the block header, not
|
||||||
//! the actual work represented by the block header hash.
|
//! the actual work represented by the block header hash.
|
||||||
|
#![allow(clippy::unit_arg)]
|
||||||
|
|
||||||
use crate::block;
|
use crate::block;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue