Skip to content

Commit c06b05d

Browse files
committed
more precise type names in docs
1 parent f2abcad commit c06b05d

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

stdlib/public/Concurrency/DiscardingTaskGroup.swift

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -506,11 +506,7 @@ public func withThrowingDiscardingTaskGroup<GroupResult>(
506506
/// use a ``DiscardingTaskGroup`` instead of a throwing one, or catch specific errors in
507507
/// operations submitted using `addTask`
508508
///
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
514510
/// automatically propagated through all of its child-tasks (and their child
515511
/// tasks).
516512
///

stdlib/public/Concurrency/TaskGroup.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ extension TaskGroup: Sendable { }
563563
/// - when an error is thrown out of the `withThrowingTaskGroup(...) { }` closure,
564564
/// - when the ``Task`` running this task group is cancelled.
565565
///
566-
/// Since a `TaskGroup` is a structured concurrency primitive, cancellation is
566+
/// Since a `ThrowingTaskGroup` is a structured concurrency primitive, cancellation is
567567
/// automatically propagated through all of its child-tasks (and their child
568568
/// tasks).
569569
///

0 commit comments

Comments
 (0)