Skip to content

Commit 2692494

Browse files
committed
update comment
1 parent d50aacf commit 2692494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/trie/bitarray.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ func (b *BitArray) truncateToLength() {
437437
// For example:
438438
//
439439
// array = 0000 0000 ... 0100 (len=251)
440-
// findFirstSetBit() = 2 // third bit from right is set
440+
// findFirstSetBit() = 3 // third bit from right is set
441441
func findFirstSetBit(b *BitArray) uint8 {
442442
if b.len == 0 {
443443
return 0

0 commit comments

Comments
 (0)