1
0
mirror of https://github.com/golang/go synced 2024-11-15 10:20:40 -07:00

cmd/internal/telemetry: fix typo in comments

Change-Id: I5595206674170351691b1d9869356db654f20ebb
GitHub-Last-Rev: bc0d4d13f6
GitHub-Pull-Request: golang/go#67464
Reviewed-on: https://go-review.googlesource.com/c/go/+/586159
Reviewed-by: qiu laidongfeng2 <2645477756@qq.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
This commit is contained in:
guoguangwu 2024-05-18 01:37:36 +00:00 committed by Gopher Robot
parent 9a9dd72d5c
commit 834f9710c3

View File

@ -48,7 +48,7 @@ func NewCounter(name string) *counter.Counter {
return counter.New(name) return counter.New(name)
} }
// NewStack returns a new stack counter with the given name and depth. // NewStackCounter returns a new stack counter with the given name and depth.
func NewStackCounter(name string, depth int) *counter.StackCounter { func NewStackCounter(name string, depth int) *counter.StackCounter {
return counter.NewStack(name, depth) return counter.NewStack(name, depth)
} }