all: correct typos in comments and identifiers

Fix a handful of typos found across comments and variable names

- Remove duplicate words ("the the", "of of") in two comment blocks
- Correct misspellings: "definitey" → "definitely", "exiting" → "existing"
- Fix variable name: "succesfulBuilds" → "successfulBuilds"
- Add missing apostrophe: "wont" → "won't" in test comment

Change-Id: I7243637556d158f08876cb4cb3b6a8c7ad69621f
GitHub-Last-Rev: 8cc6a083d718e86f500f686efc368e395e3659cc
GitHub-Pull-Request: golang/build#126
Reviewed-on: https://go-review.googlesource.com/c/build/+/772960
LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
diff --git a/dashboard/builders.go b/dashboard/builders.go
index 0449215..0589ccd 100644
--- a/dashboard/builders.go
+++ b/dashboard/builders.go
@@ -833,7 +833,7 @@
 	// "std".
 	InstallRacePackages []string
 
-	// GoDeps is a list of of git sha1 commits that must be in the
+	// GoDeps is a list of git sha1 commits that must be in the
 	// commit to be tested's history. If absent, this builder is
 	// not run for that commit.
 	GoDeps []string
diff --git a/internal/diff/diff.go b/internal/diff/diff.go
index 740af3b..9bd8bd7 100644
--- a/internal/diff/diff.go
+++ b/internal/diff/diff.go
@@ -76,7 +76,7 @@
 
 		// Expand matching lines as far possible,
 		// establishing that x[start.x:end.x] == y[start.y:end.y].
-		// Note that on the first (or last) iteration we may (or definitey do)
+		// Note that on the first (or last) iteration we may (or definitely do)
 		// have an empty match: start.x==end.x and start.y==end.y.
 		start := m
 		for start.x > done.x && start.y > done.y && x[start.x-1] == y[start.y-1] {
diff --git a/internal/gomote/gomote_test.go b/internal/gomote/gomote_test.go
index 36bb707..85bdf7e 100644
--- a/internal/gomote/gomote_test.go
+++ b/internal/gomote/gomote_test.go
@@ -1096,8 +1096,8 @@
 		{"valid email", "george@funky.com", "george"},
 		{"single digit local", "g@funky.com", "g"},
 		{"single digit domain", "george@f", "george"},
-		{"colon", "example@gmail.com:more-info", "example"},                                 // while not desired, wont lead to a panic
-		{"multiple at", "example@gmail.com:example@gmail.com", "example@gmail.com:example"}, // while not desired, wont lead to a panic
+		{"colon", "example@gmail.com:more-info", "example"},                                 // while not desired, won't lead to a panic
+		{"multiple at", "example@gmail.com:example@gmail.com", "example@gmail.com:example"}, // while not desired, won't lead to a panic
 	}
 	for _, tc := range testCases {
 		t.Run(tc.desc, func(t *testing.T) {
diff --git a/internal/relui/workflows.go b/internal/relui/workflows.go
index de064ca..df00233 100644
--- a/internal/relui/workflows.go
+++ b/internal/relui/workflows.go
@@ -1028,7 +1028,7 @@
 // any mismatch.
 //
 // As a special case, mismatches in the content of the VERSION file at the root are ignored.
-// TODO(go.dev/issue/62481): Make it detect a mismatch in the the VERSION file at the root, too.
+// TODO(go.dev/issue/62481): Make it detect a mismatch in the VERSION file at the root, too.
 func (b *BuildReleaseTasks) checkSourceMatch(ctx *wf.TaskContext, branch, versionFile string, source artifact) (head string, _ error) {
 	head, err := b.GerritClient.ReadBranchHead(ctx, b.GerritProject, branch)
 	if err != nil {
diff --git a/internal/task/tagx.go b/internal/task/tagx.go
index 08dd73c..e908203 100644
--- a/internal/task/tagx.go
+++ b/internal/task/tagx.go
@@ -638,12 +638,12 @@
 			},
 			Status: buildbucketpb.Status_SUCCESS,
 		}
-		succesfulBuilds, err := x.BuildBucket.SearchBuilds(ctx, pred)
+		successfulBuilds, err := x.BuildBucket.SearchBuilds(ctx, pred)
 		if err != nil {
 			return nil, err
 		}
-		if len(succesfulBuilds) != 0 {
-			ctx.Printf("%v: found successful builds: %v", name, succesfulBuilds)
+		if len(successfulBuilds) != 0 {
+			ctx.Printf("%v: found successful builds: %v", name, successfulBuilds)
 			delete(wantBuilders, name)
 		} else {
 			ctx.Printf("%v: no successful builds", name)
diff --git a/update-readmes.go b/update-readmes.go
index 0125394..81853ed 100644
--- a/update-readmes.go
+++ b/update-readmes.go
@@ -55,7 +55,7 @@
 			return nil
 		}
 		if _, err := os.Stat(filepath.Join(pkg.Dir, "README")); err == nil {
-			// Directory has exiting README; don't touch.
+			// Directory has existing README; don't touch.
 			return nil
 		}
 		readmePath := filepath.Join(pkg.Dir, "README.md")