Update src/stream/stream/flatten.rs

Co-Authored-By: Taiki Endo <te316e89@gmail.com>
yoshuawuyts-patch-1
nasa 5 years ago committed by GitHub
parent 6168952d6f
commit bf3508ffb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save