Skip to content

Commit

Permalink
Fix typo in Channel::close documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
st3iny authored and yodaldevoid committed Sep 21, 2023
1 parent 45c6e25 commit bfabbc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/channel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ impl Channel {
/// close message in response.
///
/// To wait for the remote end to close its connection as well, follow this
/// command with `wait_closed`
/// command with `wait_close`
pub fn close(&mut self) -> Result<(), Error> {
let locked = self.lock();
unsafe { locked.sess.rc(raw::libssh2_channel_close(locked.raw)) }
Expand Down

0 comments on commit bfabbc2

Please sign in to comment.