mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-12 01:21:21 +00:00
feat(swarm)!: remove unused PendingConnectionError::Io
variant (#3373)
This variant is never constructed.
This commit is contained in:
@ -1611,7 +1611,6 @@ impl From<PendingOutboundConnectionError> for DialError {
|
||||
PendingConnectionError::WrongPeerId { obtained, endpoint } => {
|
||||
DialError::WrongPeerId { obtained, endpoint }
|
||||
}
|
||||
PendingConnectionError::IO(e) => DialError::ConnectionIo(e),
|
||||
PendingConnectionError::Transport(e) => DialError::Transport(e),
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user