diff options
Diffstat (limited to 'openssl/src/ssl/mod.rs')
| -rw-r--r-- | openssl/src/ssl/mod.rs | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/openssl/src/ssl/mod.rs b/openssl/src/ssl/mod.rs index 0dd2b3cb..26851ade 100644 --- a/openssl/src/ssl/mod.rs +++ b/openssl/src/ssl/mod.rs @@ -805,13 +805,7 @@ impl<S: Read+Write> SslStream<S> { SslStream::new_server_from(ssl, stream) } - /// Returns a mutable reference to the underlying stream. - /// - /// ## Warning - /// - /// `read`ing or `write`ing directly to the underlying stream will most - /// likely desynchronize the SSL session. - #[deprecated="use get_mut instead"] + #[doc(hidden)] pub fn get_inner(&mut self) -> &mut S { self.get_mut() } |