diff --git a/components/equihash/src/verify.rs b/components/equihash/src/verify.rs index 939b48378..f356acdf9 100644 --- a/components/equihash/src/verify.rs +++ b/components/equihash/src/verify.rs @@ -62,6 +62,8 @@ impl Node { } } + // Clippy incorrectly interprets the first argument as `self`. + #[allow(clippy::wrong_self_convention)] fn from_children(a: Node, b: Node, trim: usize) -> Self { let hash: Vec<_> = a .hash