Rollup merge of #93256 - EFanZh:patch-1, r=joshtriplett
Make `join!` description more accurate
This commit is contained in:
commit
6e2593d343
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ use crate::task::{Context, Poll};
|
|||
/// Polls multiple futures simultaneously, returning a tuple
|
||||
/// 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.
|
||||
///
|
||||
/// # Examples
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue