From e515919e305371cbff38319e00d21c90b35188e4 Mon Sep 17 00:00:00 2001 From: Richard Ash Date: Sat, 29 Aug 2020 14:24:59 -0700 Subject: [PATCH] Update Vertex.swift --- Graph/Graph/Vertex.swift | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/Graph/Graph/Vertex.swift b/Graph/Graph/Vertex.swift index f74b38396..48645f0fa 100644 --- a/Graph/Graph/Vertex.swift +++ b/Graph/Graph/Vertex.swift @@ -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) + } }