all: fix function names in comment

Change-Id: I4a262a85ba3eaf7a4a5d742b1b1ebd0b3312979c
Reviewed-on: https://go-review.googlesource.com/c/exp/+/579196
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Run-TryBot: shuang cui <imcusg@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: qiu laidongfeng2 <2645477756@qq.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
diff --git a/maps/maps_test.go b/maps/maps_test.go
index bf7c6f4..0f40eb7 100644
--- a/maps/maps_test.go
+++ b/maps/maps_test.go
@@ -83,7 +83,7 @@
 	return v1 == v2 || (isNaN(v1) && isNaN(v2))
 }
 
-// equalStr compares ints and strings.
+// equalIntStr compares ints and strings.
 func equalIntStr(v1 int, v2 string) bool {
 	return strconv.Itoa(v1) == v2
 }
diff --git a/trace/order.go b/trace/order.go
index 2e6d96c..fec4087 100644
--- a/trace/order.go
+++ b/trace/order.go
@@ -1240,7 +1240,7 @@
 	return false
 }
 
-// endsRange ends a special range in time on the goroutine.
+// endRange ends a special range in time on the goroutine.
 //
 // This must line up with the start event type  of the range the goroutine is currently in.
 func (s *rangeState) endRange(typ event.Type) (stringID, error) {