mirror of
https://github.com/matrix-org/sliding-sync.git
synced 2025-03-10 13:37:11 +00:00
Tweak comment
This commit is contained in:
parent
13256d9393
commit
7e9815dfff
@ -9,7 +9,8 @@ import (
|
||||
// in the range a <= x <= b (note: closed at both ends). The slice as a whole represents
|
||||
// the set of integers x in any of the slice's closed intervals.
|
||||
//
|
||||
// The slices are arranged in no particular order and may overlap.
|
||||
// Within the slice, pairs are arranged in no particular order. Two pairs may represent
|
||||
// overlapping ranges of integers; use Valid to test for this.
|
||||
type SliceRanges [][2]int64
|
||||
|
||||
func (r SliceRanges) Valid() bool {
|
||||
|
Loading…
x
Reference in New Issue
Block a user