]> git.lizzy.rs Git - rust.git/blob - src/test/pretty/async.rs
Rollup merge of #91905 - GuillaumeGomez:source-code-page-sidebar, r=jsha
[rust.git] / src / test / pretty / async.rs
1 // pp-exact
2 // pretty-compare-only
3 // edition:2021
4
5 async fn f() {
6     let first = async { 1 };
7     let second = async move { 2 };
8     join(first, second).await
9 }