From 83c71d446556a245f612c398fb65c962be68e8b5 Mon Sep 17 00:00:00 2001 From: Tom Prince Date: Wed, 31 May 2017 23:01:04 -0600 Subject: [PATCH] Hide internal conversions to `reqwest::Error`. --- src/error.rs | 2 ++ 1 file changed, 2 insertions(+) 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,