mirror of
https://github.com/async-rs/async-std.git
synced 2025-02-28 07:09:40 +00:00
Update src/stream/stream/flatten.rs
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
This commit is contained in:
parent
b7b5df13aa
commit
6168952d6f
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ where
|
|||
let mut this = self.project();
|
||||
loop {
|
||||
if let Some(inner) = this.frontiter.as_mut().as_pin_mut() {
|
||||
if let item @ Some(_) = futures_core::ready!(Pin::new(inner).poll_next(cx)) {
|
||||
if let item @ Some(_) = futures_core::ready!(inner.poll_next(cx)) {
|
||||
return Poll::Ready(item);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue