]> Cypherpunks repositories - gostls13.git/commitdiff
hash/maphash: mention the results are 64-bit integers
authorKeith Randall <khr@golang.org>
Thu, 13 Feb 2020 18:24:41 +0000 (10:24 -0800)
committerKeith Randall <khr@golang.org>
Thu, 13 Feb 2020 18:32:48 +0000 (18:32 +0000)
Change-Id: I0d2ba52d79c34d77d475ec8d673286d0e56b826b
Reviewed-on: https://go-review.googlesource.com/c/go/+/219340
Reviewed-by: Alan Donovan <adonovan@google.com>
src/hash/maphash/maphash.go

index 3c0fc3628a8dfce4602cbf552b07568e0a9fa274..4fef88e8ee5344ecba842efc67c89ae2f80c6c51 100644 (file)
@@ -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.)