mirror of
https://github.com/rust-lang/rust.git
synced 2025-06-05 11:48:30 +00:00
Rollup merge of #93256 - EFanZh:patch-1, r=joshtriplett
Make `join!` description more accurate
This commit is contained in:
commit
6e2593d343
@ -9,7 +9,7 @@ use crate::task::{Context, Poll};
|
|||||||
/// Polls multiple futures simultaneously, returning a tuple
|
/// Polls multiple futures simultaneously, returning a tuple
|
||||||
/// of all results once complete.
|
/// of all results once complete.
|
||||||
///
|
///
|
||||||
/// While `join!(a, b)` is similar to `(a.await, b.await)`,
|
/// While `join!(a, b).await` is similar to `(a.await, b.await)`,
|
||||||
/// `join!` polls both futures concurrently and is therefore more efficient.
|
/// `join!` polls both futures concurrently and is therefore more efficient.
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
|
Loading…
Reference in New Issue
Block a user