Skip to content

Commit 9defea8

Browse files
authored
remove deprecated Server::poll_close (#727)
1 parent 1ca1dc6 commit 9defea8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/server.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -508,12 +508,6 @@ where
508508
self.connection.poll(cx).map_err(Into::into)
509509
}
510510

511-
#[doc(hidden)]
512-
#[deprecated(note = "renamed to poll_closed")]
513-
pub fn poll_close(&mut self, cx: &mut Context) -> Poll<Result<(), crate::Error>> {
514-
self.poll_closed(cx)
515-
}
516-
517511
/// Sets the connection to a GOAWAY state.
518512
///
519513
/// Does not terminate the connection. Must continue being polled to close

0 commit comments

Comments
 (0)