Skip to content

Commit f2abcad

Browse files
committed
the not throwing task group's with function also does not throw
1 parent 29b9251 commit f2abcad

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

stdlib/public/Concurrency/DiscardingTaskGroup.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ public func withDiscardingTaskGroup<GroupResult>(
119119
/// A discarding task group becomes cancelled in one of the following ways:
120120
///
121121
/// - when ``cancelAll()`` is invoked on it,
122-
/// - when an error is thrown out of the `withThrowingDiscardingTaskGroup(...) { }` closure,
123122
/// - when the ``Task`` running this task group is cancelled.
124123
///
125124
/// Since a `DiscardingTaskGroup` is a structured concurrency primitive, cancellation is

stdlib/public/Concurrency/TaskGroup.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ public func withThrowingTaskGroup<ChildTaskResult, GroupResult>(
222222
/// A task group becomes cancelled in one of the following ways:
223223
///
224224
/// - when ``cancelAll()`` is invoked on it,
225-
/// - when an error is thrown out of the `withTaskGroup(...) { }` closure,
226225
/// - when the ``Task`` running this task group is cancelled.
227226
///
228227
/// Since a `TaskGroup` is a structured concurrency primitive, cancellation is

0 commit comments

Comments
 (0)