Removed unnecessary links + hotfix

master
Oleg Nosov 5 years ago
parent 924e5a3f41
commit df22d87d09
No known key found for this signature in database
GPG Key ID: DE90B83800644E24

@ -53,7 +53,7 @@ where
loop { loop {
if let Some(inner) = this.inner_stream.as_mut().as_pin_mut() { if let Some(inner) = this.inner_stream.as_mut().as_pin_mut() {
match futures_core::ready!(inner.poll_next(cx)) { match futures_core::ready!(inner.poll_next(cx)) {
item @ Some(_) => return Poll::Ready(next_item), item @ Some(_) => return Poll::Ready(item),
None => this.inner_stream.set(None), None => this.inner_stream.set(None),
} }
} }

@ -154,7 +154,6 @@ impl Stream for Interchanger {
} }
} }
// https://github.com/async-rs/async-std/pull/701
#[test] #[test]
fn flat_map_doesnt_poll_completed_inner_stream() { fn flat_map_doesnt_poll_completed_inner_stream() {
task::block_on(async { task::block_on(async {
@ -169,7 +168,6 @@ fn flat_map_doesnt_poll_completed_inner_stream() {
}); });
} }
// https://github.com/async-rs/async-std/pull/701
#[test] #[test]
fn flatten_doesnt_poll_completed_inner_stream() { fn flatten_doesnt_poll_completed_inner_stream() {
task::block_on(async { task::block_on(async {

Loading…
Cancel
Save