Skip to content

Commit 979ac27

Browse files
Reorder conformances
1 parent a9cc058 commit 979ac27

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ The `Delta` type also conforms to all standard protocols (depending on the confo
2323

2424
- `Equatable`
2525
- `Hashable`
26+
- `CustomDebugStringConvertible`
2627
- `Encodable`
2728
- `Decodable`
2829
- `Sendable`

Sources/LightTableDelta/Delta.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,10 @@ extension Delta: Copyable where Element: Copyable {
257257
}
258258
}
259259

260+
extension Delta: Equatable where Element: Equatable {}
261+
262+
extension Delta: Hashable where Element: Hashable {}
263+
260264
extension Delta: CustomDebugStringConvertible {
261265
public var debugDescription: String {
262266
switch self {
@@ -270,10 +274,6 @@ extension Delta: CustomDebugStringConvertible {
270274
}
271275
}
272276

273-
extension Delta: Equatable where Element: Equatable {}
274-
275-
extension Delta: Hashable where Element: Hashable {}
276-
277277
public extension Delta where Element: ~Copyable {
278278
enum CodingKeys: String, CodingKey {
279279
case source = "A"

0 commit comments

Comments
 (0)