diff options
Diffstat (limited to 'ext/net/ops_tls.rs')
-rw-r--r-- | ext/net/ops_tls.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/net/ops_tls.rs b/ext/net/ops_tls.rs index 05e007176..74301292b 100644 --- a/ext/net/ops_tls.rs +++ b/ext/net/ops_tls.rs @@ -127,7 +127,7 @@ impl TlsStream { Self::new(tcp, Connection::Server(tls)) } - fn into_split(self) -> (ReadHalf, WriteHalf) { + pub fn into_split(self) -> (ReadHalf, WriteHalf) { let shared = Shared::new(self); let rd = ReadHalf { shared: shared.clone(), |