Skip to content

Commit 361eef2

Browse files
committed
Concurrency: Change Unsafe[Throwing]Continuation<T> to store a RawUnsafeContinuation
1 parent a2dbdec commit 361eef2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/Concurrency/PartialAsyncTask.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,14 @@ public struct PartialAsyncTask {
2222

2323
@frozen
2424
public struct UnsafeContinuation<T> {
25-
private var context: UnsafeRawPointer
25+
private var context: Builtin.RawUnsafeContinuation
2626

2727
public func resume(returning: __owned T) { }
2828
}
2929

3030
@frozen
3131
public struct UnsafeThrowingContinuation<T> {
32-
private var context: UnsafeRawPointer
32+
private var context: Builtin.RawUnsafeContinuation
3333

3434
public func resume(returning: __owned T) { }
3535
public func resume(throwing: __owned Error) { }

0 commit comments

Comments
 (0)