From 064e45bdc00d294dfdb31c5ed36eb8b96c0b0073 Mon Sep 17 00:00:00 2001 From: Oleg Dyachenko Date: Sat, 24 Aug 2024 20:37:02 +0700 Subject: [PATCH] leadingZeroes64() go1.8 - fix typo --- leading_zeros_18.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leading_zeros_18.go b/leading_zeros_18.go index 21d18c2..72af1d6 100644 --- a/leading_zeros_18.go +++ b/leading_zeros_18.go @@ -39,5 +39,5 @@ func len64(x uint64) (n uint) { } func leadingZeroes64(v uint64) uint { - return 64 - len64(x) + return 64 - len64(v) }