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> {
410410 /// return collected
411411 ///
412412 /// Awaiting on an empty group
413- /// immediate returns `nil` without suspending.
413+ /// immediately returns `nil` without suspending.
414414 ///
415415 /// You can also use a `for`-`await`-`in` loop to collect results of a task group:
416416 ///
@@ -469,7 +469,7 @@ public struct TaskGroup<ChildTaskResult: Sendable> {
469469 ///
470470 /// At the start of the body of a `withTaskGroup(of:returning:body:)` call,
471471 /// 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
473473 /// because a task group waits for all child tasks to complete before returning.
474474 ///
475475 /// - Returns: `true` if the group has no pending tasks; otherwise `false`.
You can’t perform that action at this time.
0 commit comments