mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00: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