chore: fix CI for Rust 1.52
@@ -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")
