summaryrefslogtreecommitdiff
path: root/vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go')
-rw-r--r--vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go b/vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go
index 1c1638fd8..cf9d42aed 100644
--- a/vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go
+++ b/vendor/github.com/cespare/xxhash/v2/xxhash_unsafe.go
@@ -33,7 +33,7 @@ import (
//
// See https://github.com/golang/go/issues/42739 for discussion.
-// Sum64String computes the 64-bit xxHash digest of s.
+// Sum64String computes the 64-bit xxHash digest of s with a zero seed.
// It may be faster than Sum64([]byte(s)) by avoiding a copy.
func Sum64String(s string) uint64 {
b := *(*[]byte)(unsafe.Pointer(&sliceHeader{s, len(s)}))