go/token: fix a typo in a comment

Fixes #75632

Change-Id: I71f891eb837147b6ff818ec4b2133c8c07091931
GitHub-Last-Rev: 3eeeea2dc2
GitHub-Pull-Request: golang/go#76117
Reviewed-on: https://go-review.googlesource.com/c/go/+/716440
Reviewed-by: t hepudds <thepudds1460@gmail.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: t hepudds <thepudds1460@gmail.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Alan Donovan <adonovan@google.com>
This commit is contained in:
Alexander F. Rødseth
2025-10-30 13:46:44 +00:00
committed by Gopher Robot
parent cdc6b559ca
commit d44db293f9

View File

@@ -511,7 +511,7 @@ func (s *FileSet) AddExistingFiles(files ...*File) {
// }
//
// because all calls to AddFile must be in increasing order.
// AddExistingFilesFiles lets us augment an existing FileSet
// AddExistingFiles lets us augment an existing FileSet
// sequentially, so long as all sets of files have disjoint ranges.
// This approach also does not preserve line directives.