Skip to content

Commit bc7b8fc

Browse files
mbrandonwgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 1370f01 commit bc7b8fc

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Sources/ConcurrencyExtras/LockIsolated.swift

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff 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

112112
extension NSRecursiveLock {

0 commit comments

Comments
 (0)