1
0
mirror of https://github.com/golang/go synced 2024-11-11 18:21:40 -07:00

go/types: fix typo in comment

This commit is contained in:
Xin Hao 2024-08-01 10:40:06 +08:00
parent 3214129a83
commit 29517a07f9

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