Skip to content

Commit

Permalink
Fix miri failure
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaseizinger committed May 22, 2023
1 parent bbf633a commit 520b76f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions futures/tests/async_await_macros.rs
Expand Up @@ -90,8 +90,8 @@ fn select_streams() {
_ = rx1.next() => panic!(),
_ = rx2.next() => panic!(),
default => {
tx1.send(2).await.unwrap();
tx2.send(3).await.unwrap();
tx1.feed(2).await.unwrap();
tx2.feed(3).await.unwrap();
tx1_opt = Some(tx1);
tx2_opt = Some(tx2);
}
Expand Down

0 comments on commit 520b76f

Please sign in to comment.