diff --git a/core/src/core/block.rs b/core/src/core/block.rs index 72f62ba6c..b36d0409c 100644 --- a/core/src/core/block.rs +++ b/core/src/core/block.rs @@ -418,6 +418,7 @@ impl Block { /// TODO - Move this somewhere where only tests will use it. /// *** Only used in tests. *** /// + #[warn(clippy::new_ret_no_self)] pub fn new( prev: &BlockHeader, txs: Vec,