Skip to content

Commit 5db3caf

Browse files
authored
Merge pull request swiftlang#36855 from apple/ktoso-patch-3
2 parents ededad4 + 34d1e27 commit 5db3caf

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)