Skip to content

Commit

Permalink
Update Vertex.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
richard-ash committed Aug 29, 2020
1 parent aeafa95 commit e515919
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions Graph/Graph/Vertex.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,10 @@ extension Vertex: CustomStringConvertible {

extension Vertex: Hashable {




public func hasher(into hasher: inout Hasher){

hasher.combine(data)
hasher.combine(index)
}


public func hasher(into hasher: inout Hasher) {
hasher.combine(data)
hasher.combine(index)
}

}

Expand Down

0 comments on commit e515919

Please sign in to comment.