Skip to content

Commit

Permalink
Update join_set.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Motoyuki Kimura <[email protected]>
  • Loading branch information
hmaka and mox692 authored Aug 23, 2024
1 parent 7542e4e commit 9d37eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tokio/src/task/join_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -375,8 +375,8 @@ impl<T: 'static> JoinSet<T> {
}

/// Awaits the completion of all tasks in this `JoinSet`, returning a vector of their results.
/// The results will be stored in the order they completed not the order they were spawned.
///
/// The results will be stored in the order they completed not the order they were spawned.
/// This is a convenience method that is equivalent to calling [`join_next`] in
/// a loop. If any tasks on the `JoinSet` fail with an [`JoinError`], then this call
/// to `join_all` will panic and all remaining tasks on the `JoinSet` are
Expand Down

0 comments on commit 9d37eee

Please sign in to comment.