8000 Add public access in Tree · adithyabhat/swift-algorithm-club@a80282c · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit a80282c

Browse files
author
Nagasawa Hiroki
committed
Add public access in Tree
1 parent 797fd0a commit a80282c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tree/Tree.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extension TreeNode: CustomStringConvertible {
2525
}
2626

2727
extension TreeNode where T: Equatable {
28-
func search(value: T) -> TreeNode? {
28+
public func search(value: T) -> TreeNode? {
2929
if value == self.value {
3030
return self
3131
}

0 commit comments

Comments
 (0)
0