     }
   }
 
-  /// Resume the task awaiting the continuation by having it either
-  /// return normally or throw an error based on the state of the given
-  /// `Result` value.
-  ///
-  /// - Parameter result: A value to either return or throw from the
-  ///   continuation.
-  ///
-  /// A continuation must be resumed exactly once. If the continuation has
-  /// already been resumed through this object, then the attempt to resume
-  /// the continuation again will trap.
-  ///
-  /// After `resume` enqueues the task, control is immediately returned to
-  /// the caller. The task will continue executing when its executor is
-  /// able to reschedule it.
+  /// Resume the task that's awaiting the continuation
+  /// by returning or throwing the given result value.
+  ///
+  /// - Parameter result: The result.
+  ///   If it contains a `.success` value,
+  ///   the continuation returns that value;
+  ///   otherwise, it throws the `.error` value.
+  ///
+  /// A continuation must be resumed exactly once.
+  /// If the continuation has already resumed,
+  /// then calling this method results in undefined behavior.
+  ///
+  /// After calling this method,
+  /// control immediately returns to the caller.
+  /// The task continues executing
+  /// when its executor schedules it.
   @_alwaysEmitIntoClient
   public func resume(with result: Result<T, E>) {
     switch result {

    self.context = context
  }

  /// Resume the task awaiting the continuation by having it return normally
  /// from its suspension point.
  ///
  /// - Parameter value: The value to return from the continuation.
  ///
  /// A continuation must be resumed exactly once. If the continuation has
  /// already been resumed through this object, then the attempt to resume
  /// the continuation again will result in undefined behavior.
  ///
  /// After `resume` enqueues the task, control is immediately returned to
  /// the caller. The task will continue executing when its executor is
  /// able to reschedule it.
  @_alwaysEmitIntoClient
  public func resume(returning value: __owned T) where E == Never {
    #if compiler(>=5.5) && $BuiltinContinuation


#endif

/// Suspends the current task,
/// then calls the given closure with an unsafe continuation for the current task.
///
/// - Parameter fn: A closure that takes an `UnsafeContinuation` parameter.
/// You must resume the continuation exactly once.
///
/// - Returns: The value passed to the continuation by the closure.
@available(SwiftStdlib 5.1, *)
@_alwaysEmitIntoClient
public func withUnsafeContinuation<T>(
