Skip to content

Commit

Permalink
Clarify purpose of bit-clearing expression
Browse files Browse the repository at this point in the history
  • Loading branch information
danielway-wk committed May 17, 2023
1 parent 33a45f0 commit 8f1c722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitarray/bitarray.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ func getSetBitsInBlocks(
return results[:resultSize]
}

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

0 comments on commit 8f1c722

Please sign in to comment.