Remove deprecated-in-0.1.x APIs

This commit is contained in:
Sean McArthur
2019-08-20 14:22:10 -07:00
parent f46840f3fa
commit f31ec5d0da
6 changed files with 2 additions and 51 deletions

View File

@@ -400,13 +400,6 @@ impl RecvStream {
RecvStream { inner }
}
#[deprecated(since = "0.0.0")]
#[doc(hidden)]
pub fn is_empty(&self) -> bool {
// If the recv side is closed and the receive queue is empty, the body is empty.
self.inner.inner.body_is_empty()
}
/// Returns true if the receive half has reached the end of stream.
///
/// A return value of `true` means that calls to `poll` and `poll_trailers`