From 107410225acb82d872d62692e73de45a4f6a4199 Mon Sep 17 00:00:00 2001 From: Sean McArthur Date: Wed, 15 Nov 2023 11:34:31 -0500 Subject: [PATCH] remove deprecated Server::poll_close (#727) Signed-off-by: Sven Pfennig --- src/server.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/server.rs b/src/server.rs index bb20adc5d..e72df7699 100644 --- a/src/server.rs +++ b/src/server.rs @@ -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> { - self.poll_closed(cx) - } - /// Sets the connection to a GOAWAY state. /// /// Does not terminate the connection. Must continue being polled to close