aboutsummaryrefslogtreecommitdiff
path: root/src/internal/trace
diff options
context:
space:
mode:
authorcuishuang <imcusg@gmail.com>2024-06-02 00:51:35 +0800
committerGopher Robot <gobot@golang.org>2024-06-03 14:56:25 +0000
commit71751350b0de7e090d76c9ea54fa9ceeeef6709a (patch)
treebedbc2c61cfa4ea56ee26eae590917af250e7cc9 /src/internal/trace
parent9b43bfbc51c469ec13fca24960834a75b2bf66eb (diff)
downloadgo-71751350b0de7e090d76c9ea54fa9ceeeef6709a.tar.xz
all: make function comments match function names
Change-Id: Ideb9ef00e7bc660b005fc080973fd9f3d36c5a1f Reviewed-on: https://go-review.googlesource.com/c/go/+/589536 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Michael Knyszek <mknyszek@google.com> Run-TryBot: shuang cui <imcusg@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/internal/trace')
-rw-r--r--src/internal/trace/order.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/trace/order.go b/src/internal/trace/order.go
index 9765df6177..4b3b8029fd 100644
--- a/src/internal/trace/order.go
+++ b/src/internal/trace/order.go
@@ -1262,7 +1262,7 @@ func (s *rangeState) hasRange(typ rangeType) bool {
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) {