Commit 78aaf860 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 3fb8dccc
...@@ -297,7 +297,7 @@ func (A *RangedKeySet) DifferenceInplace(B *RangedKeySet) { ...@@ -297,7 +297,7 @@ func (A *RangedKeySet) DifferenceInplace(B *RangedKeySet) {
// verify check RangedKeySet for internal consistency: // verify check RangedKeySet for internal consistency:
// - ranges must be not overlapping nor adjacent and ↑ // - ranges must be not overlapping nor adjacent and ↑
func (S *RangedKeySet) verify() { func (S *RangedKeySet) verify() {
// XXX !debug -> return ? // TODO !debug -> return
var badv []string var badv []string
badf := func(format string, argv ...interface{}) { badf := func(format string, argv ...interface{}) {
...@@ -359,7 +359,8 @@ func (S *RangedKeySet) Clear() { ...@@ -359,7 +359,8 @@ func (S *RangedKeySet) Clear() {
} }
// AllRanges returns slice of all key ranges in the set. // AllRanges returns slice of all key ranges in the set.
// XXX -> iter? //
// TODO -> iter?
func (S *RangedKeySet) AllRanges() /*readonly*/[]KeyRange { func (S *RangedKeySet) AllRanges() /*readonly*/[]KeyRange {
return S.rangev return S.rangev
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment