Skip to content

Commit 34d1e27

Browse files
authored
[Concurrency] runDetached shim must be static
1 parent 51b71c7 commit 34d1e27

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
@@ -366,7 +366,7 @@ extension Task {
366366

367367
@discardableResult
368368
@available(*, deprecated, message: "`Task.runDetached` was replaced by `detach` and will be removed shortly.")
369-
public func runDetached<T>(
369+
public static func runDetached<T>(
370370
priority: Task.Priority = .unspecified,
371371
operation: __owned @Sendable @escaping () async throws -> T
372372
) -> Task.Handle<T, Error> {

0 commit comments

Comments
 (0)