Skip to content

Commit

Permalink
leadingZeroes64() go1.8 - fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
skullhole committed Aug 24, 2024
1 parent 04f7f9a commit 064e45b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion leading_zeros_18.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ func len64(x uint64) (n uint) {
}

func leadingZeroes64(v uint64) uint {
return 64 - len64(x)
return 64 - len64(v)
}

0 comments on commit 064e45b

Please sign in to comment.