8000 Merge pull request #172 from pixyzehn/add-public-access · adithyabhat/swift-algorithm-club@bc14780 · GitHub
[go: up one dir, main page]

Skip to content

Commit bc14780

Browse files
authored
Merge pull request kodecocodes#172 from pixyzehn/add-public-access
Add public access in Tree
2 parents 797fd0a + a80282c commit bc14780

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