Skip to content

Commit 3c0f202

Browse files
committed
Update mod.rs
1 parent 56121a7 commit 3c0f202

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

russh/src/channels/mod.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,6 @@ impl std::fmt::Debug for ChannelReadHalf {
153153

154154
impl ChannelReadHalf {
155155
/// Awaits an incoming [`ChannelMsg`], this method returns [`None`] if the channel has been closed.
156-
///
157-
/// When the remote end sends `CHANNEL_CLOSE`, a [`ChannelMsg::Close`] is
158-
/// delivered before this method returns [`None`].
159156
pub async fn wait(&mut self) -> Option<ChannelMsg> {
160157
self.receiver.recv().await
161158
}
@@ -584,9 +581,6 @@ impl<S: From<(ChannelId, ChannelMsg)> + Send + Sync + 'static> Channel<S> {
584581
}
585582

586583
/// Awaits an incoming [`ChannelMsg`], this method returns [`None`] if the channel has been closed.
587-
///
588-
/// When the remote end sends `CHANNEL_CLOSE`, a [`ChannelMsg::Close`] is
589-
/// delivered before this method returns [`None`].
590584
pub async fn wait(&mut self) -> Option<ChannelMsg> {
591585
self.read_half.wait().await
592586
}

0 commit comments

Comments
 (0)