equihash: Silence clippy mis-lint

This commit is contained in:
Jack Grigg 2020-10-23 17:38:24 +01:00
parent 14aba4f5d1
commit e6c2230afa
1 changed files with 2 additions and 0 deletions

View File

@ -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