Skip to content

Commit b215114

Browse files
authored
Update Mutex.swift
1 parent 9b70c02 commit b215114

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/Mutex.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
//
3131

3232
// Backports the Swift 6 type Mutex<Value> to all Darwin platforms
33+
// @available(SwiftStdlib 6.0, deprecated, message: "Use Synchronization.Mutex included with Swift 6")
3334
public struct Mutex<Value>: @unchecked Sendable {
3435
let lock: AllocatedLock<Value> // Compatible with OSAllocatedUnfairLock iOS 16+
3536
}

0 commit comments

Comments
 (0)