@@ -52,7 +52,7 @@ import Swift
52
52
/// If you call `addTask(priority:operation:)` to create a new task in a canceled group,
53
53
/// that task is immediately canceled after creation.
54
54
/// Alternatively, you can call `asyncUnlessCancelled(priority:operation:)`,
55
- /// which doesn't create the task if the group has already been canceled
55
+ /// which doesn't create the task if the group has already been canceled.
56
56
/// Choosing between these two functions
57
57
/// lets you control how to react to cancellation within a group:
58
58
/// some child tasks need to run regardless of cancellation,
@@ -550,7 +550,7 @@ extension DiscardingTaskGroup: Sendable { }
550
550
/// If you call `addTask(priority:operation:)` to create a new task in a canceled group,
551
551
/// that task is immediately canceled after creation.
552
552
/// Alternatively, you can call `asyncUnlessCancelled(priority:operation:)`,
553
- /// which doesn't create the task if the group has already been canceled
553
+ /// which doesn't create the task if the group has already been canceled.
554
554
/// Choosing between these two functions
555
555
/// lets you control how to react to cancellation within a group:
556
556
/// some child tasks need to run regardless of cancellation,
@@ -713,7 +713,7 @@ public func _unsafeInheritExecutor_withThrowingDiscardingTaskGroup<GroupResult>(
713
713
/// however a discarding group cannot poll child tasks for results and therefore assumes that child
714
714
/// task throws are an indication of a group wide failure. In order to avoid such behavior,
715
715
/// use a ``DiscardingTaskGroup`` instead of a throwing one, or catch specific errors in
716
- /// operations submitted using `addTask`
716
+ /// operations submitted using `addTask`.
717
717
///
718
718
/// Since a `ThrowingDiscardingTaskGroup` is a structured concurrency primitive, cancellation is
719
719
/// automatically propagated through all of its child-tasks (and their child
0 commit comments