aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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] {