Skip to content

Commit

Permalink
quinn: Make SendStream::poll_stopped private
Browse files Browse the repository at this point in the history
Previously, this method was public, but marked as `#[doc(hidden)]`.
However, nothing anywhere was using it. This commit makes it private.
  • Loading branch information
gretchenfrage committed Dec 20, 2024
1 parent afc7d7f commit db89823
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions quinn/src/send_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,7 @@ impl SendStream {
Stopped { stream: self }.await
}

#[doc(hidden)]
pub fn poll_stopped(&mut self, cx: &mut Context) -> Poll<Result<Option<VarInt>, StoppedError>> {
fn poll_stopped(&mut self, cx: &mut Context) -> Poll<Result<Option<VarInt>, StoppedError>> {
let mut conn = self.conn.state.lock("SendStream::poll_stopped");

if self.is_0rtt {
Expand Down

0 comments on commit db89823

Please sign in to comment.