Skip to content

Commit 571356c

Browse files
authored
Make join! description more accurate
1 parent 42313dd commit 571356c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/future/join.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use crate::task::{Context, Poll};
99
/// Polls multiple futures simultaneously, returning a tuple
1010
/// of all results once complete.
1111
///
12-
/// While `join!(a, b)` is similar to `(a.await, b.await)`,
12+
/// While `join!(a, b).await` is similar to `(a.await, b.await)`,
1313
/// `join!` polls both futures concurrently and is therefore more efficient.
1414
///
1515
/// # Examples

0 commit comments

Comments
 (0)