Skip to content

Commit 520b76f

Browse files
Fix miri failure
1 parent bbf633a commit 520b76f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

futures/tests/async_await_macros.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ fn select_streams() {
9090
_ = rx1.next() => panic!(),
9191
_ = rx2.next() => panic!(),
9292
default => {
93-
tx1.send(2).await.unwrap();
94-
tx2.send(3).await.unwrap();
93+
tx1.feed(2).await.unwrap();
94+
tx2.feed(3).await.unwrap();
9595
tx1_opt = Some(tx1);
9696
tx2_opt = Some(tx2);
9797
}

0 commit comments

Comments
 (0)