1
0
mirror of https://github.com/golang/go synced 2024-11-17 05:04:54 -07:00

hash/maphash: use correct method name in comment

Change-Id: I01a3a5232525683c987b52ab8ece3fc18b6f431b
GitHub-Last-Rev: d2ec8fe536
GitHub-Pull-Request: golang/go#52194
Reviewed-on: https://go-review.googlesource.com/c/go/+/398714
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Auto-Submit: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Trust: Daniel Martí <mvdan@mvdan.cc>
This commit is contained in:
j178 2022-04-07 02:44:08 +00:00 committed by Daniel Martí
parent 9a6acc83c8
commit 870256ec89

View File

@ -40,7 +40,7 @@ type Seed struct {
// var h Hash
// h.SetSeed(seed)
// h.Write(b)
// return h.Sum()
// return h.Sum64()
func Bytes(seed Seed, b []byte) uint64 {
state := seed.s
if state == 0 {
@ -66,7 +66,7 @@ func Bytes(seed Seed, b []byte) uint64 {
// var h Hash
// h.SetSeed(seed)
// h.WriteString(s)
// return h.Sum()
// return h.Sum64()
func String(seed Seed, s string) uint64 {
state := seed.s
if state == 0 {