forked from mirror/async-std
Removed unnecessary links + hotfix
This commit is contained in:
parent
924e5a3f41
commit
df22d87d09
2 changed files with 1 additions and 3 deletions
|
@ -53,7 +53,7 @@ where
|
|||
loop {
|
||||
if let Some(inner) = this.inner_stream.as_mut().as_pin_mut() {
|
||||
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),
|
||||
}
|
||||
}
|
||||
|
|
|
@ -154,7 +154,6 @@ impl Stream for Interchanger {
|
|||
}
|
||||
}
|
||||
|
||||
// https://github.com/async-rs/async-std/pull/701
|
||||
#[test]
|
||||
fn flat_map_doesnt_poll_completed_inner_stream() {
|
||||
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]
|
||||
fn flatten_doesnt_poll_completed_inner_stream() {
|
||||
task::block_on(async {
|
||||
|
|
Loading…
Reference in a new issue