Skip to content

Commit 089cc4f

Browse files
committed
Remove last use of @_unsafeSendable in the concurrency library
1 parent 962c114 commit 089cc4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/public/Concurrency/Task.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ internal func _asyncMainDrainQueue() -> Never
760760
internal func _getMainExecutor() -> Builtin.Executor
761761

762762
@available(SwiftStdlib 5.1, *)
763-
public func _runAsyncMain(@_unsafeSendable _ asyncFun: @escaping () async throws -> ()) {
763+
public func _runAsyncMain(_ asyncFun: @escaping () async throws -> ()) {
764764
Task.detached {
765765
do {
766766
#if !os(Windows)

0 commit comments

Comments
 (0)