Skip to content

Commit

Permalink
remove deprecated Server::poll_close (#727)
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmonstar authored Nov 15, 2023
1 parent 1ca1dc6 commit 9defea8
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,12 +508,6 @@ where
self.connection.poll(cx).map_err(Into::into)
}

#[doc(hidden)]
#[deprecated(note = "renamed to poll_closed")]
pub fn poll_close(&mut self, cx: &mut Context) -> Poll<Result<(), crate::Error>> {
self.poll_closed(cx)
}

/// Sets the connection to a GOAWAY state.
///
/// Does not terminate the connection. Must continue being polled to close
Expand Down

0 comments on commit 9defea8

Please sign in to comment.