mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 18:40:57 +03:00
90c3e9a2c2
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`