Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gaissmai authored Dec 16, 2024
1 parent 051d7b5 commit cbfc1f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitset.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ func (b *BitSet) FlipRange(start, end uint) *BitSet {
// so the two expressions flip results in a flip
// in b.set[1] from [7,63]
//
// handle starWword special, get's reflipped in range loop
// handle startWord special, get's reflipped in range loop
b.set[startWord] ^= ^(^uint64(0) << wordsIndex(start))

for idx := range b.set[startWord:endWord] {
Expand Down

0 comments on commit cbfc1f7

Please sign in to comment.