Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
weiihann committed Dec 24, 2024
1 parent d50aacf commit 2692494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/trie/bitarray.go
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ func (b *BitArray) truncateToLength() {
// For example:
//
// array = 0000 0000 ... 0100 (len=251)
// findFirstSetBit() = 2 // third bit from right is set
// findFirstSetBit() = 3 // third bit from right is set
func findFirstSetBit(b *BitArray) uint8 {
if b.len == 0 {
return 0
Expand Down

0 comments on commit 2692494

Please sign in to comment.