mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-27 11:05:06 +00:00
Implement `core::future::join!`
`join!` polls multiple futures concurrently and returns their outputs.
```rust
async fn run() {
let (a, b) = join!(async { 0 }, async { 1 });
}
```
cc `@rust-lang/wg-async-foundations`