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:
@ -167,7 +167,7 @@ impl Stream for MockDiscovery {
|
||||
}))
|
||||
}
|
||||
}
|
||||
Message::Pong(_) => {}
|
||||
Message::Pong(_) | Message::Neighbours(_) => {}
|
||||
Message::FindNode(msg) => {
|
||||
if let Some(nodes) = this.pending_neighbours.remove(&msg.id) {
|
||||
let msg = Message::Neighbours(Neighbours {
|
||||
@ -181,7 +181,6 @@ impl Stream for MockDiscovery {
|
||||
}))
|
||||
}
|
||||
}
|
||||
Message::Neighbours(_) => {}
|
||||
Message::EnrRequest(_) | Message::EnrResponse(_) => todo!(),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user