go/types: fix typo in comment

Change-Id: Ic0ea0f0de3f94e2d89bf76176c51f42e87b1bad7
GitHub-Last-Rev: 29517a07f9
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>
This commit is contained in:
Xin Hao 2024-08-01 02:47:35 +00:00 committed by Gopher Robot
parent 6ac87aa5b3
commit 4c05a23bb6
1 changed files with 1 additions and 1 deletions

View File

@ -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] {