chore(dependencies): update futures to 0.3.1
This commit is contained in:
committed by
Sean McArthur
parent
9d9233ce7c
commit
71d088d3d0
@@ -487,7 +487,7 @@ impl From<Cow<'static, str>> for Body {
|
||||
impl Sender {
|
||||
/// Check to see if this `Sender` can send more data.
|
||||
pub fn poll_ready(&mut self, cx: &mut task::Context<'_>) -> Poll<crate::Result<()>> {
|
||||
match self.abort_tx.poll_cancel(cx) {
|
||||
match self.abort_tx.poll_canceled(cx) {
|
||||
Poll::Ready(()) => return Poll::Ready(Err(crate::Error::new_closed())),
|
||||
Poll::Pending => (), // fallthrough
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user