chore: make clippy happy (#13772)

This commit is contained in:
Federico Gimenez
2025-01-11 12:15:06 +01:00
committed by GitHub
parent ca30702f85
commit 5a23708eb0
19 changed files with 26 additions and 37 deletions

View File

@ -817,7 +817,7 @@ impl<P> RevealedSparseTrie<P> {
tree_mask,
hash_mask,
hashes,
hash.filter(|_| path.len() == 0),
hash.filter(|_| path.is_empty()),
);
updates.updated_nodes.insert(path.clone(), branch_node);
}