Join tasks using join!
macro
This commit is contained in:
parent
519ce8dd85
commit
fdb0b43ce8
1 changed files with 1 additions and 1 deletions
|
@ -39,6 +39,6 @@ fn main() {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
trpl::join3(tx1_fut, tx_fut, rx_fut).await;
|
trpl::join!(tx1_fut, tx_fut, rx_fut);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue