diff --git a/actix-tls/src/connect/connection.rs b/actix-tls/src/connect/connection.rs index 14c8dc00..1abd4eff 100644 --- a/actix-tls/src/connect/connection.rs +++ b/actix-tls/src/connect/connection.rs @@ -13,7 +13,7 @@ impl_more::deref_mut! { Connection => io } impl Connection { /// Construct new `Connection` from request and IO parts. - pub(crate) fn new(req: R, io: IO) -> Self { + pub fn new(req: R, io: IO) -> Self { Self { req, io } } }