From a100fc76da306f942be0df38658a0fc491241ce0 Mon Sep 17 00:00:00 2001 From: jean-airoldie <25088801+jean-airoldie@users.noreply.github.com> Date: Sat, 16 Mar 2024 22:35:50 -0400 Subject: [PATCH] Improve poll_finish documentation --- quinn/src/send_stream.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/quinn/src/send_stream.rs b/quinn/src/send_stream.rs index 96e5687fd..0c2581936 100644 --- a/quinn/src/send_stream.rs +++ b/quinn/src/send_stream.rs @@ -142,12 +142,6 @@ impl SendStream { /// /// No new data may be written after calling this method. Completes when the peer has /// acknowledged all sent data, retransmitting data as needed. - /// - /// On success, return Poll::Ready(Ok(())). - /// - /// If the stream is not ready for writing, the method returns Poll::Pending and arranges - /// for the current task (via cx.waker().wake_by_ref()) to receive a notification when the - /// stream becomes writable or is closed. pub fn poll_finish(&mut self, cx: &mut Context) -> Poll> { let mut conn = self.conn.state.lock("poll_finish"); if self.is_0rtt {