There was an error while loading. Please reload this page.
1 parent b7b5df1 commit 6168952Copy full SHA for 6168952
src/stream/stream/flatten.rs
@@ -109,7 +109,7 @@ where
109
let mut this = self.project();
110
loop {
111
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)) {
+ if let item @ Some(_) = futures_core::ready!(inner.poll_next(cx)) {
113
return Poll::Ready(item);
114
}
115
0 commit comments