aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authorcuishuang <imcusg@gmail.com>2024-07-04 14:10:55 +0800
committerGopher Robot <gobot@golang.org>2024-07-11 17:23:45 +0000
commita71bb570d064f6d0c1cf59cef4b7a044be7a39d3 (patch)
tree6e87492ed7814855e8dd6ac085e0ab1a82dad570 /src/cmd
parent611f18c4e9c63921f6e036a4738542f476b7305a (diff)
downloadgo-a71bb570d064f6d0c1cf59cef4b7a044be7a39d3.tar.xz
all: make struct comments match struct names
Change-Id: I011f66854a9af5f3baa20abebd4b315c15db571f Reviewed-on: https://go-review.googlesource.com/c/go/+/596715 Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: shuang cui <imcusg@gmail.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Commit-Queue: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/trace/gstate.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/trace/gstate.go b/src/cmd/trace/gstate.go
index bcbe3b6c7f..638d492670 100644
--- a/src/cmd/trace/gstate.go
+++ b/src/cmd/trace/gstate.go
@@ -46,7 +46,7 @@ type gState[R resource] struct {
// goroutine stopped executing. These are flushed on every stop or block.
completedRanges []completedRange
- // startRunning is the most recent event that caused a goroutine to
+ // startRunningTime is the most recent event that caused a goroutine to
// transition to GoRunning.
startRunningTime trace.Time