We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7c4773 commit 7398252Copy full SHA for 7398252
Sources/Mutex.swift
@@ -36,7 +36,7 @@
36
// @available(tvOS, deprecated: 18.0, message: "use Mutex from Synchronization module included with Swift 6")
37
// @available(watchOS, deprecated: 11.0, message: "use Mutex from Synchronization module included with Swift 6")
38
// @available(visionOS, deprecated: 2.0, message: "use Mutex from Synchronization module included with Swift 6")
39
-public struct Mutex<Value>: Sendable {
+public struct Mutex<Value>: Sendable, ~Copyable {
40
let lock: AllocatedLock<Value> // Compatible with OSAllocatedUnfairLock iOS 16+
41
}
42
0 commit comments