mirror of
https://github.com/async-rs/async-std.git
synced 2025-04-08 09:26:42 +00:00
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 {
|
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…
Reference in a new issue