diff --git a/zebra-chain/src/block.rs b/zebra-chain/src/block.rs index 72bc908b..c612be7d 100644 --- a/zebra-chain/src/block.rs +++ b/zebra-chain/src/block.rs @@ -1,4 +1,5 @@ //! Blocks and block-related structures (heights, headers, etc.) +#![allow(clippy::unit_arg)] mod hash; mod header; diff --git a/zebra-chain/src/work/difficulty.rs b/zebra-chain/src/work/difficulty.rs index 98906fec..7802d02d 100644 --- a/zebra-chain/src/work/difficulty.rs +++ b/zebra-chain/src/work/difficulty.rs @@ -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;