diff options
author | Keith Randall <khr@golang.org> | 2020-02-13 10:24:41 -0800 |
---|---|---|
committer | Keith Randall <khr@golang.org> | 2020-02-13 18:32:48 +0000 |
commit | a0c9fb6bd359f111f19176ff176244b91a3e7eaa (patch) | |
tree | 32756ef5069ee10d0e704e0d9dd5116c9357b05a /src/hash | |
parent | e237df5b53eb91d7a8d7247e7996f5edee6515b7 (diff) | |
download | go-a0c9fb6bd359f111f19176ff176244b91a3e7eaa.tar.gz go-a0c9fb6bd359f111f19176ff176244b91a3e7eaa.zip |
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 <adonovan@google.com>
Diffstat (limited to 'src/hash')
-rw-r--r-- | src/hash/maphash/maphash.go | 2 |
1 files changed, 1 insertions, 1 deletions
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.) |