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 7ce721f commit b7b5df1Copy full SHA for b7b5df1
src/stream/stream/flatten.rs
@@ -108,7 +108,7 @@ where
108
fn poll_next(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<Option<Self::Item>> {
109
let mut this = self.project();
110
loop {
111
- if let Some(inner) = this.frontiter {
+ if let Some(inner) = this.frontiter.as_mut().as_pin_mut() {
112
if let item @ Some(_) = futures_core::ready!(Pin::new(inner).poll_next(cx)) {
113
return Poll::Ready(item);
114
}
0 commit comments