Skip to content

Commit

Permalink
Remove hashValue method from Hashable extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Bachmann committed Jun 5, 2019
1 parent 22c824b commit 149c4aa
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Source/URITemplate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,6 @@ extension URITemplate: Equatable {
}

extension URITemplate: Hashable {
public var hashValue: Int {
var hasher = Hasher()
self.hash(into: &hasher)
return hasher.finalize()
}

public func hash(into hasher: inout Hasher) {
hasher.combine(string)
}
Expand Down

0 comments on commit 149c4aa

Please sign in to comment.