Skip to content

Commit bf3508f

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

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
@@ -114,7 +114,7 @@ where
114114
}
115115
}
116116

117-
match futures_core::ready!(Pin::new(&mut this.stream).poll_next(cx)) {
117+
match futures_core::ready!(this.stream.as_mut().poll_next(cx)) {
118118
None => return Poll::Ready(None),
119119
Some(inner) => *this.frontiter = Some(inner.into_stream()),
120120
}

0 commit comments

Comments
 (0)