Skip to content

Commit a842ef5

Browse files
Updates Hashable conformance
1 parent a98eb89 commit a842ef5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/App/Models/Parser Models/Instance.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ extension Instance: Equatable, Hashable {
1414
return lhs.address == rhs.address
1515
}
1616

17-
public var hashValue: Int {
17+
public func hash(into hasher: inout Hasher) {
1818

19-
return address.hashValue
19+
address.hash(into: &hasher)
2020
}
2121
}
2222

0 commit comments

Comments
 (0)