From a8c2b27046582c4eef932a8502826a3b23b8dab3 Mon Sep 17 00:00:00 2001 From: cch123 Date: Mon, 2 Jul 2018 11:44:49 +0800 Subject: [PATCH] runtime: fix typo in mapextra comment --- src/runtime/map.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/map.go b/src/runtime/map.go index 0e00f12974d..208c92cb0d7 100644 --- a/src/runtime/map.go +++ b/src/runtime/map.go @@ -126,7 +126,7 @@ type mapextra struct { // If both key and value do not contain pointers and are inline, then we mark bucket // type as containing no pointers. This avoids scanning such maps. // However, bmap.overflow is a pointer. In order to keep overflow buckets - // alive, we store pointers to all overflow buckets in hmap.overflow and h.map.oldoverflow. + // alive, we store pointers to all overflow buckets in hmap.extra.overflow and hmap.extra.oldoverflow. // overflow and oldoverflow are only used if key and value do not contain pointers. // overflow contains overflow buckets for hmap.buckets. // oldoverflow contains overflow buckets for hmap.oldbuckets.