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 @@ -282,7 +282,7 @@ public func withCheckedContinuation<T>(
282
282
/// You must resume the continuation exactly once.
283
283
///
284
284
/// If `resume(throwing:)` is called on the continuation,
285
- /// this method thows that error.
285
+ /// this function throws that error.
286
286
@available ( SwiftStdlib 5 . 5 , * )
287
287
public func withCheckedThrowingContinuation< T> (
288
288
function: String = #function,
Original file line number Diff line number Diff line change @@ -242,9 +242,6 @@ internal func _resumeUnsafeThrowingContinuationWithError<T>(
242
242
/// You must resume the continuation exactly once.
243
243
///
244
244
/// - Returns: The value passed to the continuation by the closure.
245
- ///
246
- /// If `resume(throwing:)` is called on the continuation,
247
- /// this method thows that error.
248
245
@available ( SwiftStdlib 5 . 5 , * )
249
246
@_alwaysEmitIntoClient
250
247
public func withUnsafeContinuation< T> (
@@ -262,6 +259,9 @@ public func withUnsafeContinuation<T>(
262
259
/// You must resume the continuation exactly once.
263
260
///
264
261
/// - Returns: The value passed to the continuation by the closure.
262
+ ///
263
+ /// If `resume(throwing:)` is called on the continuation,
264
+ /// this function throws that error.
265
265
@available ( SwiftStdlib 5 . 5 , * )
266
266
@_alwaysEmitIntoClient
267
267
public func withUnsafeThrowingContinuation< T> (
You can’t perform that action at this time.
0 commit comments