aboutsummaryrefslogtreecommitdiff
path: root/openssl/src
diff options
context:
space:
mode:
authorSteven Fackler <[email protected]>2015-06-27 21:40:55 -0700
committerSteven Fackler <[email protected]>2015-06-27 21:40:55 -0700
commitc722f889c1e4962dc7793a881d37b07aedc6f02f (patch)
tree84612d286ba5a0f2f7cad48c4931f7d8499b0096 /openssl/src
parentReduce SslStream constructor duplication (diff)
downloadrust-openssl-c722f889c1e4962dc7793a881d37b07aedc6f02f.tar.xz
rust-openssl-c722f889c1e4962dc7793a881d37b07aedc6f02f.zip
Docs tweak
Diffstat (limited to 'openssl/src')
-rw-r--r--openssl/src/ssl/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/openssl/src/ssl/mod.rs b/openssl/src/ssl/mod.rs
index 0768fead..cb4448b8 100644
--- a/openssl/src/ssl/mod.rs
+++ b/openssl/src/ssl/mod.rs
@@ -803,6 +803,7 @@ impl<S: Read+Write> SslStream<S> {
SslStream::new_client(ctx, stream)
}
+ /// # Deprecated
#[doc(hidden)]
pub fn get_inner(&mut self) -> &mut S {
self.get_mut()
@@ -823,7 +824,7 @@ impl<S: Read+Write> SslStream<S> {
/// ## Warning
///
/// It is inadvisable to read from or write to the underlying stream as it
- /// will most likely desynchronize the SSL session.
+ /// will most likely corrupt the SSL session.
pub fn get_mut(&mut self) -> &mut S {
&mut self.stream
}