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 @@ -364,7 +364,7 @@ public struct TaskGroup<ChildTaskResult: Sendable> {
364
364
/// return collected
365
365
///
366
366
/// Awaiting on an empty group
367
- /// immediate returns `nil` without suspending.
367
+ /// immediately returns `nil` without suspending.
368
368
///
369
369
/// You can also use a `for`-`await`-`in` loop to collect results of a task group:
370
370
///
@@ -423,7 +423,7 @@ public struct TaskGroup<ChildTaskResult: Sendable> {
423
423
///
424
424
/// At the start of the body of a `withTaskGroup(of:returning:body:)` call,
425
425
/// the task group is always empty.
426
- /// It` s guaranteed to be empty when returning from that body
426
+ /// It' s guaranteed to be empty when returning from that body
427
427
/// because a task group waits for all child tasks to complete before returning.
428
428
///
429
429
/// - Returns: `true` if the group has no pending tasks; otherwise `false`.
You can’t perform that action at this time.
0 commit comments