2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-02-06 04:35:32 +00:00

Another hotfix

This commit is contained in:
Oleg Nosov 2020-06-14 18:42:18 +03:00
parent df22d87d09
commit 42425f6c1a
No known key found for this signature in database
GPG key ID: DE90B83800644E24

View file

@ -60,7 +60,7 @@ where
match futures_core::ready!(this.stream.as_mut().poll_next(cx)) {
inner @ Some(_) => this.inner_stream.set(inner.map(IntoStream::into_stream)),
None => Poll::Ready(None),
None => return Poll::Ready(None),
}
}
}