File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -153,9 +153,6 @@ impl std::fmt::Debug for ChannelReadHalf {
153153
154154impl 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 }
You can’t perform that action at this time.
0 commit comments