Skip to content

Commit 7ac0ea7

Browse files
committed
removed unnecessary call to the description property
1 parent b942a76 commit 7ac0ea7

File tree

1 file changed

+1
-1
lines changed
  • Classic Computer Science Problems in Swift.playground/Pages/Chapter 4.xcplaygroundpage

1 file changed

+1
-1
lines changed

Classic Computer Science Problems in Swift.playground/Pages/Chapter 4.xcplaygroundpage/Contents.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ cityGraph2.addEdge(from: "Boston", to: "New York", weight: 190)
407407
cityGraph2.addEdge(from: "New York", to: "Philadelphia", weight: 81)
408408
cityGraph2.addEdge(from: "Philadelphia", to: "Washington", weight: 123)
409409

410-
print(cityGraph2.description)
410+
print(cityGraph2)
411411

412412
/// Find the total weight of an array of weighted edges
413413
/// - parameter edges The edge array to find the total weight of.

0 commit comments

Comments
 (0)