From: Keith Randall Date: Thu, 13 Feb 2020 18:24:41 +0000 (-0800) Subject: hash/maphash: mention the results are 64-bit integers X-Git-Tag: go1.14~9^2~2 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=a0c9fb6bd3;p=gostls13.git hash/maphash: mention the results are 64-bit integers Change-Id: I0d2ba52d79c34d77d475ec8d673286d0e56b826b Reviewed-on: https://go-review.googlesource.com/c/go/+/219340 Reviewed-by: Alan Donovan --- diff --git a/src/hash/maphash/maphash.go b/src/hash/maphash/maphash.go index 3c0fc3628a..4fef88e8ee 100644 --- a/src/hash/maphash/maphash.go +++ b/src/hash/maphash/maphash.go @@ -5,7 +5,7 @@ // Package maphash provides hash functions on byte sequences. // These hash functions are intended to be used to implement hash tables or // other data structures that need to map arbitrary strings or byte -// sequences to a uniform distribution of integers. +// sequences to a uniform distribution on unsigned 64-bit integers. // // The hash functions are collision-resistant but not cryptographically secure. // (See crypto/sha256 and crypto/sha512 for cryptographic use.)