]> Cypherpunks repositories - gostls13.git/commitdiff
go/types: fix typo in comment
authorXin Hao <haoxinst@gmail.com>
Thu, 1 Aug 2024 02:47:35 +0000 (02:47 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 1 Aug 2024 14:56:12 +0000 (14:56 +0000)
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>
src/go/types/iter.go

index e6dee158fd6cb30566a45274cdb751b7e6a1b073..dcd15bdfaed7a93891c6a36e6ffe61bdb7d7a2c8 100644 (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] {