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 b68b3b9 commit 0155784Copy full SHA for 0155784
Binary Tree/README.markdown
@@ -58,8 +58,7 @@ extension BinaryTree: CustomStringConvertible {
58
public var description: String {
59
switch self {
60
case let .node(left, value, right):
61
- return "value: \(value), left = [" + left.description + "], right = ["
62
- + right.description + "]"
+ return "value: \(value), left = [\(left.description)], right = [\(right.description)]"
63
case .empty:
64
return ""
65
}
0 commit comments