Skip to content

Commit 4f59fe8

Browse files
authored
Merge pull request #64206 from apple/ktoso-patch-14
Minor mistake in group docs comment docs comment snippet
2 parents f4230e3 + 5fbdd81 commit 4f59fe8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/Concurrency/TaskGroup.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -632,6 +632,7 @@ public struct ThrowingTaskGroup<ChildTaskResult: Sendable, Failure: Error> {
632632
/// } catch {
633633
/// // other errors though we print and cancel the group,
634634
/// // and all of the remaining child tasks within it.
635+
/// print("Error: \(error)")
635636
/// group.cancelAll()
636637
/// }
637638
/// }

0 commit comments

Comments
 (0)