1
0
mirror of https://github.com/golang/go synced 2024-09-29 17:24:34 -06:00
This commit is contained in:
vovapi 2020-02-20 22:27:38 +03:00
parent 1d8b10d31a
commit 48b2f963e8

View File

@ -128,7 +128,7 @@ func (h *Hash) SetSeed(seed Seed) {
h.n = 0
}
// setSeed sets seed without discarding accumulated data
// setSeed sets seed without discarding accumulated data.
func (h *Hash) setSeed(seed Seed) {
if seed.s == 0 {
panic("maphash: use of uninitialized Seed")