Skip to content

Commit

Permalink
chore: fix CI for Rust 1.52 (#3758)
Browse files Browse the repository at this point in the history
  • Loading branch information
eb-64-64 authored May 6, 2021
1 parent d4075a4 commit 6b9bdd5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tokio/tests/macros_select.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,6 @@ async fn join_with_select() {
async fn use_future_in_if_condition() {
use tokio::time::{self, Duration};

let sleep = time::sleep(Duration::from_millis(50));
tokio::pin!(sleep);

tokio::select! {
_ = time::sleep(Duration::from_millis(50)), if false => {
panic!("if condition ignored")
Expand Down

0 comments on commit 6b9bdd5

Please sign in to comment.