]> git.r.bdr.sh - rbdr/map/blobdiff - Map/Logic/MapParser/Strategies/GroupParserStrategy.swift
Add search
[rbdr/map] / Map / Logic / MapParser / Strategies / GroupParserStrategy.swift
index d1acec2764f70a4d78bbf3e67c673c8eed335103..d5ab60c5c8a218699878ccad3ea206597a7fa596 100644 (file)
@@ -33,9 +33,10 @@ struct GroupParserStrategy: MapParserStrategy {
     var groupVertices: [Vertex] = []
     let vertexIdString = String(line[Range(match.range(at: 2), in: line)!])
     let vertexIds = vertexIdString.split(separator: ",", omittingEmptySubsequences: true).map(
-      String.init).map({ vertexId in
-        vertexId.trimmingCharacters(in: .whitespacesAndNewlines)
-      })
+      String.init
+    ).map({ vertexId in
+      vertexId.trimmingCharacters(in: .whitespacesAndNewlines)
+    })
 
     for vertexId in vertexIds {
       if let vertex = vertices[vertexId] {