We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4878af5 commit 9f0ba0dCopy full SHA for 9f0ba0d
stdlib/public/Concurrency/TaskCancellation.swift
@@ -112,7 +112,7 @@ public struct CancellationError: Error {
112
113
@available(SwiftStdlib 5.5, *)
114
@_silgen_name("swift_task_addCancellationHandler")
115
-func _taskAddCancellationHandler(handler: @Sendable () -> ()) -> UnsafeRawPointer /*CancellationNotificationStatusRecord*/
+func _taskAddCancellationHandler(handler: @Sendable () -> Void) -> UnsafeRawPointer /*CancellationNotificationStatusRecord*/
116
117
118
@_silgen_name("swift_task_removeCancellationHandler")
0 commit comments