all: fix function names in comment

Change-Id: I9786fded6ab468809c521936658a38dc63b9b68c
Reviewed-on: https://go-review.googlesource.com/c/build/+/579199
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: shuang cui <imcusg@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: qiu laidongfeng2 <2645477756@qq.com>
diff --git a/cmd/coordinator/queues.go b/cmd/coordinator/queues.go
index 850f462..f9c9150 100644
--- a/cmd/coordinator/queues.go
+++ b/cmd/coordinator/queues.go
@@ -119,7 +119,7 @@
 	return w, v
 }
 
-// fmtFrac is identical to fmtInt in the time package.
+// fmtInt is identical to fmtInt in the time package.
 func fmtInt(buf []byte, v uint64) int {
 	w := len(buf)
 	if v == 0 {
diff --git a/cmd/gerritbot/internal/rules/run.go b/cmd/gerritbot/internal/rules/run.go
index 7b759ee..4974516 100644
--- a/cmd/gerritbot/internal/rules/run.go
+++ b/cmd/gerritbot/internal/rules/run.go
@@ -152,7 +152,7 @@
 	return false
 }
 
-// matchAny reports the count of matches for the regexp in s,
+// matchCount reports the count of matches for the regexp in s,
 // returning 0 for a bad regexp after logging the bad regexp.
 func matchCount(pattern string, s string) int {
 	re := regexp.MustCompile(pattern)
diff --git a/internal/task/tagtelemetry.go b/internal/task/tagtelemetry.go
index 10e3baa..dddf3dc 100644
--- a/internal/task/tagtelemetry.go
+++ b/internal/task/tagtelemetry.go
@@ -88,7 +88,7 @@
 	return t.Gerrit.CreateAutoSubmitChange(ctx, changeInput, reviewers, files)
 }
 
-// AwaitSubmitted waits for the CL with the given change ID to be submitted.
+// AwaitSubmission waits for the CL with the given change ID to be submitted.
 //
 // The return value is the submitted commit hash, or "" if changeID is "".
 func (t *TagTelemetryTasks) AwaitSubmission(ctx *wf.TaskContext, changeID string) error {