Skip to content

Commit 464c4e0

Browse files
committed
Fix copy/paste error.
Per tech review from @jckarter
1 parent 915547b commit 464c4e0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

stdlib/public/Concurrency/CheckedContinuation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public func withCheckedContinuation<T>(
282282
/// You must resume the continuation exactly once.
283283
///
284284
/// If `resume(throwing:)` is called on the continuation,
285-
/// this method thows that error.
285+
/// this function throws that error.
286286
@available(SwiftStdlib 5.5, *)
287287
public func withCheckedThrowingContinuation<T>(
288288
function: String = #function,

stdlib/public/Concurrency/PartialAsyncTask.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,6 @@ internal func _resumeUnsafeThrowingContinuationWithError<T>(
242242
/// You must resume the continuation exactly once.
243243
///
244244
/// - 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.
248245
@available(SwiftStdlib 5.5, *)
249246
@_alwaysEmitIntoClient
250247
public func withUnsafeContinuation<T>(
@@ -262,6 +259,9 @@ public func withUnsafeContinuation<T>(
262259
/// You must resume the continuation exactly once.
263260
///
264261
/// - 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.
265265
@available(SwiftStdlib 5.5, *)
266266
@_alwaysEmitIntoClient
267267
public func withUnsafeThrowingContinuation<T>(

0 commit comments

Comments
 (0)