summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>,
}