Address comments

This commit is contained in:
hi-rustin 2021-05-14 17:30:00 +08:00
parent b98c119ba6
commit 765ccf2eca
3 changed files with 25 additions and 3 deletions

View file

@ -208,6 +208,17 @@ impl<T> Option<T> {
}
}
}
async fn learn_and_sing() {
let song = learn_song().await;
sing_song(song).await;
}
async fn async_main() {
let f1 = learn_and_sing();
let f2 = dance();
futures::join!(f1, f2);
}
"#
.trim(),
expect_file!["./test_data/highlighting.html"],