We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62b0410 commit e06cc65Copy full SHA for e06cc65
stdlib/public/Concurrency/TaskGroup.swift
@@ -545,7 +545,7 @@ public struct TaskGroup<ChildTaskResult: Sendable> {
545
/// to wait for all the child tasks to complete,
546
/// collecting the values they returned:
547
///
548
- /// while let first = try await group.next() {
+ /// while let value = try await group.next() {
549
/// collected += value
550
/// }
551
/// return collected
0 commit comments