You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
async fn one() {}
|
|
async fn two() {}
|
|
|
|
#[tokio::test]
|
|
async fn multi_pin() {
|
|
tokio::pin! {
|
|
let f1 = one();
|
|
let f2 = two();
|
|
}
|
|
|
|
(&mut f1).await;
|
|
(&mut f2).await;
|
|
}
|