mirror of
https://github.com/golang/go
synced 2024-11-05 18:36:08 +00:00
runtime/map: update comment
Update comment cause cmd/compile/internal/gc/range.go has been moved to cmd/compile/internal/walk/range.go
This commit is contained in:
parent
f2b55b7219
commit
6bfbb4bded
1 changed files with 2 additions and 2 deletions
|
@ -162,8 +162,8 @@ type bmap struct {
|
|||
// If you modify hiter, also change cmd/compile/internal/reflectdata/reflect.go to indicate
|
||||
// the layout of this structure.
|
||||
type hiter struct {
|
||||
key unsafe.Pointer // Must be in first position. Write nil to indicate iteration end (see cmd/compile/internal/gc/range.go).
|
||||
elem unsafe.Pointer // Must be in second position (see cmd/compile/internal/gc/range.go).
|
||||
key unsafe.Pointer // Must be in first position. Write nil to indicate iteration end (see cmd/compile/internal/walk/range.go).
|
||||
elem unsafe.Pointer // Must be in second position (see cmd/compile/internal/walk/range.go).
|
||||
t *maptype
|
||||
h *hmap
|
||||
buckets unsafe.Pointer // bucket ptr at hash_iter initialization time
|
||||
|
|
Loading…
Reference in a new issue