1
0
mirror of https://github.com/golang/go synced 2024-11-17 23:04:56 -07:00

runtime: fix minor doc typo

Change-Id: I0a1ebaf41a1bc95508fd9aa782953ddca5ef49c9
Reviewed-on: https://go-review.googlesource.com/c/go/+/169724
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
Josh Bleecher Snyder 2019-03-25 22:42:54 -07:00
parent 92e6cf4c0f
commit 94c656ff7a

View File

@ -288,7 +288,7 @@ func makemap64(t *maptype, hint int64, h *hmap) *hmap {
return makemap(t, int(hint), h) return makemap(t, int(hint), h)
} }
// makehmap_small implements Go map creation for make(map[k]v) and // makemap_small implements Go map creation for make(map[k]v) and
// make(map[k]v, hint) when hint is known to be at most bucketCnt // make(map[k]v, hint) when hint is known to be at most bucketCnt
// at compile time and the map needs to be allocated on the heap. // at compile time and the map needs to be allocated on the heap.
func makemap_small() *hmap { func makemap_small() *hmap {