Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gaissmai committed Jan 19, 2023
1 parent caab6bb commit 9a2d205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion treap.go
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ func (n *node[T]) coveredBy(item T) (result []T) {
return append(result, n.right.coveredBy(item)...)
}

// Intersects returns true is any interval intersects item.
// Intersects returns true if any interval intersects item.
func (t Tree[T]) Intersects(item T) bool {
return t.root.intersects(item)
}
Expand Down

0 comments on commit 9a2d205

Please sign in to comment.