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> {
364364 /// return collected
365365 ///
366366 /// Awaiting on an empty group
367- /// immediate returns `nil` without suspending.
367+ /// immediately returns `nil` without suspending.
368368 ///
369369 /// You can also use a `for`-`await`-`in` loop to collect results of a task group:
370370 ///
@@ -423,7 +423,7 @@ public struct TaskGroup<ChildTaskResult: Sendable> {
423423 ///
424424 /// At the start of the body of a `withTaskGroup(of:returning:body:)` call,
425425 /// 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
427427 /// because a task group waits for all child tasks to complete before returning.
428428 ///
429429 /// - Returns: `true` if the group has no pending tasks; otherwise `false`.
You can’t perform that action at this time.
0 commit comments