Skip to content

Commit 581e666

Browse files
committed
Adopt @Concurrent in withCancellationHandler.
1 parent 1d082e1 commit 581e666

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/TaskCancellation.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ extension Task {
6464
/// This function returns instantly and will never suspend.
6565
/* @instantaneous */
6666
public static func withCancellationHandler<T>(
67-
handler: /* @concurrent */ () -> (),
67+
handler: @concurrent () -> (),
6868
operation: () async throws -> T
6969
) async throws -> T {
7070
fatalError("\(#function) not implemented yet.")

0 commit comments

Comments
 (0)