From dbbb1bfc912457abcd99eec1ffae74d52ecb55a5 Mon Sep 17 00:00:00 2001 From: Jes Cok Date: Thu, 16 Oct 2025 01:16:02 +0000 Subject: all: correct name for comments Change-Id: I390c380349e99ad421264b673ad7734eddb639d3 GitHub-Last-Rev: 32e849a6420574b0d878b9a449a8c044fd6ebdd1 GitHub-Pull-Request: golang/go#75905 Reviewed-on: https://go-review.googlesource.com/c/go/+/711941 Reviewed-by: Jorropo Reviewed-by: Keith Randall Reviewed-by: Keith Randall Auto-Submit: Jorropo LUCI-TryBot-Result: Go LUCI Auto-Submit: Keith Randall Reviewed-by: Dmitri Shuralyov --- src/internal/runtime/maps/table.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/internal/runtime') diff --git a/src/internal/runtime/maps/table.go b/src/internal/runtime/maps/table.go index 73ea76766b..d9bcf23dfa 100644 --- a/src/internal/runtime/maps/table.go +++ b/src/internal/runtime/maps/table.go @@ -716,7 +716,7 @@ func (it *Iter) Key() unsafe.Pointer { return it.key } -// Key returns a pointer to the current element. nil indicates end of +// Elem returns a pointer to the current element. nil indicates end of // iteration. // // Must not be called prior to Next. -- cgit v1.3-5-g9baa