File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -94,19 +94,19 @@ extension LockIsolated where Value: Sendable {
9494}
9595
9696#if swift(<6)
97- @available ( * , deprecated, message: " Lock isolated values should not be equatable " )
98- extension LockIsolated : Equatable where Value: Equatable {
99- public static func == ( lhs: LockIsolated , rhs: LockIsolated ) -> Bool {
100- lhs. value == rhs. value
97+ @available ( * , deprecated, message: " Lock isolated values should not be equatable " )
98+ extension LockIsolated : Equatable where Value: Equatable {
99+ public static func == ( lhs: LockIsolated , rhs: LockIsolated ) -> Bool {
100+ lhs. value == rhs. value
101+ }
101102 }
102- }
103103
104- @available ( * , deprecated, message: " Lock isolated values should not be hashable " )
105- extension LockIsolated : Hashable where Value: Hashable {
106- public func hash( into hasher: inout Hasher ) {
107- hasher. combine ( self . value)
104+ @available ( * , deprecated, message: " Lock isolated values should not be hashable " )
105+ extension LockIsolated : Hashable where Value: Hashable {
106+ public func hash( into hasher: inout Hasher ) {
107+ hasher. combine ( self . value)
108+ }
108109 }
109- }
110110#endif
111111
112112extension NSRecursiveLock {
You can’t perform that action at this time.
0 commit comments