8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f57fbb commit b68b3b9Copy full SHA for b68b3b9
Binary Tree/BinaryTree.playground/Contents.swift
@@ -18,7 +18,7 @@ extension BinaryTree: CustomStringConvertible {
18
public var description: String {
19
switch self {
20
case let .node(left, value, right):
21
- return "value: \(value), left = [" + left.description + "], right = [" + right.description + "]"
+ return "value: \(value), left = [\(left.description)], right = [\(right.description)]"
22
case .empty:
23
return ""
24
}
0 commit comments