mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-07-03 11:41:34 +00:00
refactor(swarm): remove deprecated inject calls (#3264)
Finishes work first started with https://github.com/libp2p/rust-libp2p/issues/2832
This commit is contained in:
@ -94,7 +94,7 @@ impl SubstreamHandler for Stream {
|
||||
}))
|
||||
}
|
||||
|
||||
fn inject_event(self, event: Self::InEvent) -> Self {
|
||||
fn on_event(self, event: Self::InEvent) -> Self {
|
||||
void::unreachable(event)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user