diff --git a/src/error.rs b/src/error.rs index f7727d1..8d46c99 100644 --- a/src/error.rs +++ b/src/error.rs @@ -152,6 +152,7 @@ impl From<::hyper_native_tls::native_tls::Error> for Kind { pub struct InternalFrom(pub T, pub Option); +#[doc(hidden)] // https://github.com/rust-lang/rust/issues/42323 impl From> for Error { #[inline] fn from(other: InternalFrom) -> Error { @@ -159,6 +160,7 @@ impl From> for Error { } } +#[doc(hidden)] // https://github.com/rust-lang/rust/issues/42323 impl From> for Error where T: Into,