diff --git a/actix-tls/src/connect/connection.rs b/actix-tls/src/connect/connection.rs index 68972a2a..b7f1e4a0 100644 --- a/actix-tls/src/connect/connection.rs +++ b/actix-tls/src/connect/connection.rs @@ -14,7 +14,7 @@ pub struct Connection { 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 } } }