diff --git a/quinn/src/send_stream.rs b/quinn/src/send_stream.rs index 08e8ef4a2..faa43bde9 100644 --- a/quinn/src/send_stream.rs +++ b/quinn/src/send_stream.rs @@ -203,8 +203,7 @@ impl SendStream { Stopped { stream: self }.await } - #[doc(hidden)] - pub fn poll_stopped(&mut self, cx: &mut Context) -> Poll, StoppedError>> { + fn poll_stopped(&mut self, cx: &mut Context) -> Poll, StoppedError>> { let mut conn = self.conn.state.lock("SendStream::poll_stopped"); if self.is_0rtt {