Add comment about unused From impl

This commit is contained in:
Dirkjan Ochtman
2018-12-14 21:49:40 +01:00
parent 7d3f7a5c15
commit 8ce4a5752d
+1
View File
@@ -2509,6 +2509,7 @@ impl From<TransportError> for ConnectionError {
}
}
// For compatibility with API consumers
impl From<ConnectionError> for io::Error {
fn from(x: ConnectionError) -> io::Error {
use self::ConnectionError::*;