mirror of
https://github.com/paradigmxyz/reth.git
synced 2026-01-09 15:28:01 -05:00
add match_same_arms clippy lint (#8549)
This commit is contained in:
@@ -17,7 +17,7 @@ pub enum StateRootError {
|
||||
impl From<StateRootError> for DatabaseError {
|
||||
fn from(err: StateRootError) -> Self {
|
||||
match err {
|
||||
StateRootError::DB(err) => err,
|
||||
StateRootError::DB(err) |
|
||||
StateRootError::StorageRootError(StorageRootError::DB(err)) => err,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user