Skip to content

Commit cc75a3a

Browse files
committed
Correct the type in doc comment for parameter.
Fixes rdar://79539036
1 parent 4c82b77 commit cc75a3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/CheckedContinuation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ extension CheckedContinuation {
259259
/// - function: A string identifying the declaration that is the notional
260260
/// source for the continuation, used to identify the continuation in
261261
/// runtime diagnostics related to misuse of this continuation.
262-
/// - body: A closure that takes an `UnsafeContinuation` parameter.
262+
/// - body: A closure that takes a `CheckedContinuation` parameter.
263263
/// You must resume the continuation exactly once.
264264
@available(SwiftStdlib 5.5, *)
265265
public func withCheckedContinuation<T>(

0 commit comments

Comments
 (0)