summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAkshay Narayan <akshayn@mit.edu>2019-10-02 09:37:32 -0400
committerWez Furlong <wez@wezfurlong.org>2019-10-02 08:22:38 -0700
commite16e691881afd9acf9a924ec3d7f35e9cf9b0861 (patch)
treefb031e9b57b1e2532d9979868494f59d01630975 /src
parentc282f4acb11d57f398b337e3b58af90b3253599e (diff)
downloadssh2-rs-e16e691881afd9acf9a924ec3d7f35e9cf9b0861.zip
Clarify docs of Session to refer to set_tcp_stream(), not handshake()
Diffstat (limited to 'src')
-rw-r--r--src/session.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session.rs b/src/session.rs
index 2b522ff..9babdd2 100644
--- a/src/session.rs
+++ b/src/session.rs
@@ -74,7 +74,7 @@ unsafe impl Send for SessionInner {}
///
/// All other structures are based on an SSH session and cannot outlive a
/// session. Sessions are created and then have the TCP socket handed to them
-/// (via the `handshake` method).
+/// (via the `set_tcp_stream` method).
pub struct Session {
inner: Rc<SessionInner>,
}