mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Address comments
This commit is contained in:
parent
b98c119ba6
commit
765ccf2eca
3 changed files with 25 additions and 3 deletions
|
@ -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"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue