Skip to content

Commit 5c7766b

Browse files
committed
Sendable
1 parent a883ec4 commit 5c7766b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Mutex.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
// @available(tvOS, deprecated: 18.0, message: "use Mutex from Synchronization module included with Swift 6")
3737
// @available(watchOS, deprecated: 11.0, message: "use Mutex from Synchronization module included with Swift 6")
3838
// @available(visionOS, deprecated: 2.0, message: "use Mutex from Synchronization module included with Swift 6")
39-
public struct Mutex<Value>: @unchecked Sendable {
39+
public struct Mutex<Value>: Sendable {
4040
let lock: AllocatedLock<Value> // Compatible with OSAllocatedUnfairLock iOS 16+
4141
}
4242

0 commit comments

Comments
 (0)