From: Xin Hao Date: Thu, 1 Aug 2024 02:47:35 +0000 (+0000) Subject: go/types: fix typo in comment X-Git-Tag: go1.24rc1~1301 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4c05a23bb63efee928f3c3cbe712ae7d562ba588;p=gostls13.git 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 LUCI-TryBot-Result: Go LUCI Auto-Submit: Ian Lance Taylor Reviewed-by: Michael Knyszek --- 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] {