Skip to content

Commit 9ffc987

Browse files
committed
Add docstring.
1 parent f63e187 commit 9ffc987

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

augmentedtree/interface.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,10 @@ range handling.
3232
package augmentedtree
3333

3434
// Interval is the interface that must be implemented by any
35-
// item added to the interval tree.
35+
// item added to the interval tree. This interface is similar to the
36+
// interval found in the rangetree package and it should be possible
37+
// for the same struct to implement both interfaces. Note that ranges
38+
// here are inclusive.
3639
type Interval interface {
3740
// LowAtDimension returns an integer representing the lower bound
3841
// at the requested dimension.

0 commit comments

Comments
 (0)