diff --git a/src/server.rs b/src/server.rs index bb20adc5..e72df769 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