mirror of
https://github.com/async-rs/async-std.git
synced 2025-01-16 10:49:55 +00:00
Update src/stream/stream/flatten.rs
Co-Authored-By: Taiki Endo <te316e89@gmail.com>
This commit is contained in:
parent
6168952d6f
commit
bf3508ffb2
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue