File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
stdlib/public/Concurrency Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ extension CheckedContinuation {
260
260
/// source for the continuation, used to identify the continuation in
261
261
/// runtime diagnostics related to misuse of this continuation.
262
262
/// - body: A closure that takes an `UnsafeContinuation` parameter.
263
- /// The closure must resume the continuation exactly once.
263
+ /// You must resume the continuation exactly once.
264
264
@available ( SwiftStdlib 5 . 5 , * )
265
265
public func withCheckedContinuation< T> (
266
266
function: String = #function,
@@ -279,7 +279,7 @@ public func withCheckedContinuation<T>(
279
279
/// source for the continuation, used to identify the continuation in
280
280
/// runtime diagnostics related to misuse of this continuation.
281
281
/// - body: A closure that takes an `UnsafeContinuation` parameter.
282
- /// The closure must resume the continuation exactly once.
282
+ /// You must resume the continuation exactly once.
283
283
///
284
284
/// If `resume(throwing:)` is called on the continuation,
285
285
/// this method thows that error.
Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ internal func _resumeUnsafeThrowingContinuationWithError<T>(
239
239
/// then calls the given closure with the an unsafe continuation for the current task.
240
240
///
241
241
/// - Parameter fn: A closure that takes an `UnsafeContinuation` parameter.
242
- /// The closure must resume the continuation exactly once.
242
+ /// You must resume the continuation exactly once.
243
243
///
244
244
/// - Returns: The value passed to the continuation by the closure.
245
245
///
@@ -259,7 +259,7 @@ public func withUnsafeContinuation<T>(
259
259
/// then calls the given closure with the an unsafe throwing continuation for the current task.
260
260
///
261
261
/// - Parameter fn: A closure that takes an `UnsafeContinuation` parameter.
262
- /// The closure must resume the continuation exactly once.
262
+ /// You must resume the continuation exactly once.
263
263
///
264
264
/// - Returns: The value passed to the continuation by the closure.
265
265
@available ( SwiftStdlib 5 . 5 , * )
You can’t perform that action at this time.
0 commit comments