mirror of https://github.com/golang/go.git
Dot
This commit is contained in:
parent
1d8b10d31a
commit
48b2f963e8
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in New Issue