From 6b9bdd5ca25bd3f30589506de911db73f7dbf8b4 Mon Sep 17 00:00:00 2001 From: sb64 <53383020+sb64@users.noreply.github.com> Date: Thu, 6 May 2021 14:26:27 -0600 Subject: [PATCH] chore: fix CI for Rust 1.52 (#3758) --- tokio/tests/macros_select.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/tokio/tests/macros_select.rs b/tokio/tests/macros_select.rs index ea06d515b..07c2b81f5 100644 --- a/tokio/tests/macros_select.rs +++ b/tokio/tests/macros_select.rs @@ -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")