Skip to content

Commit 5464129

Browse files
authored
Merge pull request #83990 from edymtt/edymtt/update-availability-taskpriority
[Concurrency] Change availability for a TaskPriority extension
2 parents 185ff12 + 173c5ff commit 5464129

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stdlib/public/Concurrency/PartialAsyncTask.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -601,12 +601,12 @@ public struct JobPriority: Sendable {
601601
}
602602
}
603603

604-
@available(SwiftStdlib 5.9, *)
604+
@available(StdlibDeploymentTarget 5.9, *)
605605
extension TaskPriority {
606606
/// Convert this ``UnownedJob/Priority`` to a ``TaskPriority``.
607607
///
608608
/// Most values are directly interchangeable, but this initializer reserves the right to fail for certain values.
609-
@available(SwiftStdlib 5.9, *)
609+
@available(StdlibDeploymentTarget 5.9, *)
610610
public init?(_ p: JobPriority) {
611611
guard p.rawValue != 0 else {
612612
// 0 is "undefined"

0 commit comments

Comments
 (0)