From 3eeeea2dc28ef13eaef0fee7abf00ad418218f83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20F=2E=20R=C3=B8dseth?= <52813+xyproto@users.noreply.github.com> Date: Thu, 30 Oct 2025 13:50:11 +0100 Subject: [PATCH] Fix typo in comment for AddExistingFiles --- src/go/token/position.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/go/token/position.go b/src/go/token/position.go index c3816b1672c8ef..39756f257d3b4b 100644 --- a/src/go/token/position.go +++ b/src/go/token/position.go @@ -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.