aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorXin Hao <haoxinst@gmail.com>2024-08-01 02:47:35 +0000
committerGopher Robot <gobot@golang.org>2024-08-01 14:56:12 +0000
commit4c05a23bb63efee928f3c3cbe712ae7d562ba588 (patch)
tree4413d445be1e64dab18cdbf7443f9623e3a83288 /src
parent6ac87aa5b36e7a9389754cf5569af94447266b47 (diff)
downloadgo-4c05a23bb63efee928f3c3cbe712ae7d562ba588.tar.xz
go/types: fix typo in comment
Change-Id: Ic0ea0f0de3f94e2d89bf76176c51f42e87b1bad7 GitHub-Last-Rev: 29517a07f9af17d3dfea9a1d242d734040bc575e GitHub-Pull-Request: golang/go#68695 Reviewed-on: https://go-review.googlesource.com/c/go/+/602177 Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Michael Knyszek <mknyszek@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/go/types/iter.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/types/iter.go b/src/go/types/iter.go
index e6dee158fd..dcd15bdfae 100644
--- a/src/go/types/iter.go
+++ b/src/go/types/iter.go
@@ -106,7 +106,7 @@ func (t *Tuple) Variables() iter.Seq[*Var] {
}
}
-// MethodSet returns a go1.23 iterator over the methods of a method set.
+// Methods returns a go1.23 iterator over the methods of a method set.
//
// Example: for method := range s.Methods() { ... }
func (s *MethodSet) Methods() iter.Seq[*Selection] {