mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-05 22:21:20 +00:00
In case `self.poll_inner` returns `Poll::Ready` there is no need to register `self.inbound_stream_waker`. With this commit, `self.inbound_stream_waker` is only registered in case `self.poll_inner` returned `Poll::Pending`. Pull-Request: #3989.