Skip to content

Commit 8f1c722

Browse files
committed
Clarify purpose of bit-clearing expression
1 parent 33a45f0 commit 8f1c722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitarray/bitarray.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ func getSetBitsInBlocks(
171171
return results[:resultSize]
172172
}
173173

174-
// Example of this expression:
174+
// Clear the bit we just added to the result, which is the last bit set in the block. Ex.:
175175
// block 01001100
176176
// ^block 10110011
177177
// (^block) + 1 10110100

0 commit comments

Comments
 (0)