mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-12 09:31:20 +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:
@ -145,7 +145,7 @@ impl Behaviour {
|
||||
}
|
||||
}
|
||||
hash_map::Entry::Vacant(_) => {
|
||||
unreachable!("`inject_connection_closed` for unconnected peer.")
|
||||
unreachable!("`on_connection_closed` for unconnected peer.")
|
||||
}
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user