Skip to content

Commit

Permalink
go/types: fix typo in comment
Browse files Browse the repository at this point in the history
Change-Id: Ic0ea0f0de3f94e2d89bf76176c51f42e87b1bad7
GitHub-Last-Rev: 29517a0
GitHub-Pull-Request: #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>
  • Loading branch information
haoxins authored and pull[bot] committed Aug 9, 2024
1 parent 08eaee8 commit a5309b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/go/types/iter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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] {
Expand Down

0 comments on commit a5309b3

Please sign in to comment.