Skip to content

Commit 3e624b8

Browse files
authored
Made new constructor for the Connection type public (#439)
1 parent 26446fd commit 3e624b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

actix-tls/src/connect/connection.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ impl_more::deref_mut! { Connection<R, IO> => io }
1313

1414
impl<R, IO> Connection<R, IO> {
1515
/// Construct new `Connection` from request and IO parts.
16-
pub(crate) fn new(req: R, io: IO) -> Self {
16+
pub fn new(req: R, io: IO) -> Self {
1717
Self { req, io }
1818
}
1919
}

0 commit comments

Comments
 (0)