We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adedad1 commit 8a2d6f7Copy full SHA for 8a2d6f7
futures-util/src/stream/forward.rs
@@ -84,7 +84,7 @@ where
84
Poll::Ready(Some(Err(e))) => return Poll::Ready(Err(e)),
85
Poll::Ready(None) => {
86
try_ready!(self.as_mut().sink().as_pin_mut().expect(INVALID_POLL)
87
- .poll_flush(lw));
+ .poll_close(lw));
88
self.as_mut().sink().set(None);
89
return Poll::Ready(Ok(()))
90
}
0 commit comments