aboutsummaryrefslogtreecommitdiff
path: root/src/math/bits/example_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/bits/example_test.go')
-rw-r--r--src/math/bits/example_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/bits/example_test.go b/src/math/bits/example_test.go
index 9836245cfb..a43d1f365f 100644
--- a/src/math/bits/example_test.go
+++ b/src/math/bits/example_test.go
@@ -71,7 +71,7 @@ func ExampleOnesCount32() {
func ExampleOnesCount64() {
fmt.Printf("%b\n", 14)
- fmt.Println(bits.OnesCount(14))
+ fmt.Println(bits.OnesCount64(14))
// Output:
// 1110
// 3