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 ebbc6be commit 633c7f1Copy full SHA for 633c7f1
futures-util/src/stream/forward.rs
@@ -39,7 +39,7 @@ where
39
Forward {
40
sink: Some(sink),
41
stream: stream.fuse(),
42
- buffered_item: None,
+ buffered_item: None,
43
}
44
45
@@ -90,7 +90,7 @@ where
90
Poll::Ready(Some(Err(e))) => return Poll::Ready(Err(e)),
91
Poll::Ready(None) => {
92
try_ready!(self.as_mut().sink().as_pin_mut().expect(INVALID_POLL)
93
- .poll_close(lw));
+ .poll_flush(lw));
94
return Poll::Ready(Ok(self.as_mut().sink().take().unwrap()))
95
96
Poll::Pending => {
0 commit comments