File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
stdlib/public/Concurrency Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -410,7 +410,7 @@ public struct TaskGroup<ChildTaskResult: Sendable> {
410
410
/// return collected
411
411
///
412
412
/// Awaiting on an empty group
413
- /// immediate returns `nil` without suspending.
413
+ /// immediately returns `nil` without suspending.
414
414
///
415
415
/// You can also use a `for`-`await`-`in` loop to collect results of a task group:
416
416
///
@@ -469,7 +469,7 @@ public struct TaskGroup<ChildTaskResult: Sendable> {
469
469
///
470
470
/// At the start of the body of a `withTaskGroup(of:returning:body:)` call,
471
471
/// the task group is always empty.
472
- /// It` s guaranteed to be empty when returning from that body
472
+ /// It' s guaranteed to be empty when returning from that body
473
473
/// because a task group waits for all child tasks to complete before returning.
474
474
///
475
475
/// - Returns: `true` if the group has no pending tasks; otherwise `false`.
You can’t perform that action at this time.
0 commit comments