diff --git a/src/lib.rs b/src/lib.rs index 4403b99..6c36737 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -368,8 +368,8 @@ where { type Error = WsError; - fn poll_ready(mut self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { - (*self).with_context(Some((ContextWaker::Write, cx)), |s| cvt(s.write_pending())) + fn poll_ready(self: Pin<&mut Self>, _cx: &mut Context<'_>) -> Poll> { + Poll::Ready(Ok(())) } fn start_send(mut self: Pin<&mut Self>, item: Message) -> Result<(), Self::Error> {