Skip to content

Commit

Permalink
Made new constructor for the Connection type public (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmuddha committed Jan 28, 2022
1 parent 26446fd commit 3e624b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actix-tls/src/connect/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ impl_more::deref_mut! { Connection<R, IO> => io }

impl<R, IO> Connection<R, IO> {
/// 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 }
}
}
Expand Down

0 comments on commit 3e624b8

Please sign in to comment.