We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 251b10c commit a6af0edCopy full SHA for a6af0ed
iter.go
@@ -1,8 +1,8 @@
1
package roaring
2
3
func Values(b *Bitmap) func(func(uint32) bool) {
4
- it := b.Iterator()
5
return func(yield func(uint32) bool) {
+ it := b.Iterator()
6
for it.HasNext() {
7
if !yield(it.Next()) {
8
return
@@ -12,8 +12,8 @@ func Values(b *Bitmap) func(func(uint32) bool) {
12
}
13
14
func Backward(b *Bitmap) func(func(uint32) bool) {
15
- it := b.ReverseIterator()
16
+ it := b.ReverseIterator()
17
18
19
0 commit comments