File tree Expand file tree Collapse file tree 2 files changed +2
-6
lines changed
stdlib/public/Concurrency Expand file tree Collapse file tree 2 files changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -506,11 +506,7 @@ public func withThrowingDiscardingTaskGroup<GroupResult>(
506
506
/// use a ``DiscardingTaskGroup`` instead of a throwing one, or catch specific errors in
507
507
/// operations submitted using `addTask`
508
508
///
509
- /// Since a `TaskGroup` is a structured concurrency primitive, cancellation is
510
- /// automatically propagated through all of its child-tasks (and their child
511
- /// tasks).
512
- ///
513
- /// Since a `TaskGroup` is a structured concurrency primitive, cancellation is
509
+ /// Since a `ThrowingDiscardingTaskGroup` is a structured concurrency primitive, cancellation is
514
510
/// automatically propagated through all of its child-tasks (and their child
515
511
/// tasks).
516
512
///
Original file line number Diff line number Diff line change @@ -563,7 +563,7 @@ extension TaskGroup: Sendable { }
563
563
/// - when an error is thrown out of the `withThrowingTaskGroup(...) { }` closure,
564
564
/// - when the ``Task`` running this task group is cancelled.
565
565
///
566
- /// Since a `TaskGroup ` is a structured concurrency primitive, cancellation is
566
+ /// Since a `ThrowingTaskGroup ` is a structured concurrency primitive, cancellation is
567
567
/// automatically propagated through all of its child-tasks (and their child
568
568
/// tasks).
569
569
///
You can’t perform that action at this time.
0 commit comments