remove hyper::Error::Ssl

This commit is contained in:
Sean McArthur
2017-06-28 11:09:40 -07:00
parent 1785e0dc5d
commit e5753a5eb4

View File

@@ -263,15 +263,7 @@ impl From<::hyper::Error> for Kind {
fn from(err: ::hyper::Error) -> Kind {
match err {
::hyper::Error::Io(err) => Kind::Io(err),
/*
::hyper::Error::Uri(err) => Kind::Url(err),
::hyper::Error::Ssl(err) => {
match err.downcast() {
Ok(tls) => Kind::Tls(*tls),
Err(ssl) => Kind::Http(::hyper::Error::Ssl(ssl)),
}
}
*/
//::hyper::Error::Uri(err) => Kind::Url(err),
other => Kind::Http(other),
}
}