mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-18 00:00:09 +02:00
chore: fix CI for Rust 1.52 (#3758)
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user