From a89ea052a0a4b00abeb12aa38e622b9bd07c0e94 Mon Sep 17 00:00:00 2001 From: John Howard Date: Thu, 16 Nov 2023 09:31:36 -0800 Subject: [PATCH] Re-expose connect::Error after #49 (#51) Since #49, we cannot refer to the Error response from the client. This exposes it again --- src/client/legacy/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/legacy/mod.rs b/src/client/legacy/mod.rs index 4b7f296..a040d00 100644 --- a/src/client/legacy/mod.rs +++ b/src/client/legacy/mod.rs @@ -2,5 +2,7 @@ mod client; #[cfg(any(feature = "http1", feature = "http2"))] pub use client::Client; +#[cfg(any(feature = "http1", feature = "http2"))] +pub use client::Error; pub mod connect;