]> Cypherpunks repositories - gostls13.git/commitdiff
go/token: fix a typo in a comment
authorAlexander F. Rødseth <52813+xyproto@users.noreply.github.com>
Thu, 30 Oct 2025 13:46:44 +0000 (13:46 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 30 Oct 2025 16:00:07 +0000 (09:00 -0700)
Fixes #75632

Change-Id: I71f891eb837147b6ff818ec4b2133c8c07091931
GitHub-Last-Rev: 3eeeea2dc28ef13eaef0fee7abf00ad418218f83
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>

src/go/token/position.go

index c3816b1672c8ef20c9601f69424205518511ac3e..39756f257d3b4becc93900bb0f5872d56d71029d 100644 (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.