From a0c9fb6bd359f111f19176ff176244b91a3e7eaa Mon Sep 17 00:00:00 2001 From: Keith Randall Date: Thu, 13 Feb 2020 10:24:41 -0800 Subject: [PATCH] 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 --- src/hash/maphash/maphash.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.) -- 2.48.1