diff --git a/src/client/client.rs b/src/client/client.rs index 112a5af806..cfdd267a11 100644 --- a/src/client/client.rs +++ b/src/client/client.rs @@ -59,6 +59,7 @@ impl Client { /// The default connector does **not** handle TLS. Speaking to `https` /// destinations will require [configuring a connector that implements /// TLS](https://hyper.rs/guides/client/configuration). + #[cfg_attr(docsrs, doc(cfg(feature = "tcp")))] #[inline] pub fn new() -> Client { Builder::default().build_http()