Skip to content

Commit 31b8996

Browse files
committed
fix typo in PointsContainer protocol
1 parent 0b93a48 commit 31b8996

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

QuadTree/QuadTree.playground/Sources/QuadTree.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ extension Rect: CustomStringConvertible {
104104
}
105105
}
106106

107-
protocol PointsContainter {
107+
protocol PointsContainer {
108108
func add(point: Point) -> Bool
109109
func points(inRect rect: Rect) -> [Point]
110110
}
@@ -185,7 +185,7 @@ class QuadTreeNode {
185185
}
186186
}
187187

188-
extension QuadTreeNode: PointsContainter {
188+
extension QuadTreeNode: PointsContainer {
189189

190190
@discardableResult
191191
func add(point: Point) -> Bool {
@@ -265,7 +265,7 @@ extension QuadTreeNode: CustomStringConvertible {
265265
}
266266
}
267267

268-
public class QuadTree: PointsContainter {
268+
public class QuadTree: PointsContainer {
269269

270270
let root: QuadTreeNode
271271

0 commit comments

Comments
 (0)