mirror of
https://github.com/golang/go
synced 2024-09-15 22:20:06 +00:00
runtime: fix file references in hiter's comments
The file "cmd/internal/gc/range.go" does not exist, but should be "cmd/compile/internal/gc/range.go".
This commit is contained in:
parent
3ef8562c9c
commit
5f19dca7e9
|
@ -162,8 +162,8 @@ type bmap struct {
|
|||
// If you modify hiter, also change cmd/compile/internal/gc/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/internal/gc/range.go).
|
||||
elem unsafe.Pointer // Must be in second position (see cmd/internal/gc/range.go).
|
||||
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).
|
||||
t *maptype
|
||||
h *hmap
|
||||
buckets unsafe.Pointer // bucket ptr at hash_iter initialization time
|
||||
|
|
Loading…
Reference in a new issue