clippy: add redundant_else clippy lint (#10525)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
Thomas Coratger
2024-08-26 02:40:10 -07:00
committed by GitHub
parent 73a424205d
commit 9c57c4a454
12 changed files with 37 additions and 51 deletions

View File

@ -75,6 +75,7 @@ pub fn state_root_unsorted<A: Into<TrieAccount>>(
}
/// Calculates the root hash of the state represented as MPT.
///
/// Corresponds to [geth's `deriveHash`](https://github.com/ethereum/go-ethereum/blob/6c149fd4ad063f7c24d726a73bc0546badd1bc73/core/genesis.go#L119).
///
/// # Panics