diff options
author | Akshay Narayan <akshayn@mit.edu> | 2019-10-02 09:37:32 -0400 |
---|---|---|
committer | Wez Furlong <wez@wezfurlong.org> | 2019-10-02 08:22:38 -0700 |
commit | e16e691881afd9acf9a924ec3d7f35e9cf9b0861 (patch) | |
tree | fb031e9b57b1e2532d9979868494f59d01630975 /src | |
parent | c282f4acb11d57f398b337e3b58af90b3253599e (diff) | |
download | ssh2-rs-e16e691881afd9acf9a924ec3d7f35e9cf9b0861.zip |
Clarify docs of Session to refer to set_tcp_stream(), not handshake()
Diffstat (limited to 'src')
-rw-r--r-- | src/session.rs | 2 |
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>, } |