Skip to content

Commit 16517da

Browse files
committed
remove ~copyable
1 parent 21a4413 commit 16517da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Mutex.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ public struct Mutex<Value: ~Copyable>: @unchecked Sendable, ~Copyable {
7373

7474
#elseif compiler(>=6) && canImport(WinSDK)
7575

76-
// Windows doesn't support <Value: ~Copyable> yet
76+
// Windows doesn't support ~Copyable yet
7777

78-
public struct Mutex<Value>: @unchecked Sendable, ~Copyable {
78+
public struct Mutex<Value>: @unchecked Sendable {
7979
package let lock = AllocatedLock()
8080
private let storage: Storage
8181

0 commit comments

Comments
 (0)