Skip to content

Commit 6168952

Browse files
k-nasataiki-e
andauthored
Update src/stream/stream/flatten.rs
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
1 parent b7b5df1 commit 6168952

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stream/stream/flatten.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ where
109109
let mut this = self.project();
110110
loop {
111111
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)) {
112+
if let item @ Some(_) = futures_core::ready!(inner.poll_next(cx)) {
113113
return Poll::Ready(item);
114114
}
115115
}

0 commit comments

Comments
 (0)