From 834f9710c3b62279d69fc5c574207df2fa741619 Mon Sep 17 00:00:00 2001 From: guoguangwu Date: Sat, 18 May 2024 01:37:36 +0000 Subject: [PATCH] cmd/internal/telemetry: fix typo in comments Change-Id: I5595206674170351691b1d9869356db654f20ebb GitHub-Last-Rev: bc0d4d13f6ed0ff87967e89a007c6e28b3671df6 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 Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor Auto-Submit: Robert Griesemer LUCI-TryBot-Result: Go LUCI --- src/cmd/internal/telemetry/telemetry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd/internal/telemetry/telemetry.go b/src/cmd/internal/telemetry/telemetry.go index 221b6a007d..f11d80d19f 100644 --- a/src/cmd/internal/telemetry/telemetry.go +++ b/src/cmd/internal/telemetry/telemetry.go @@ -48,7 +48,7 @@ func NewCounter(name string) *counter.Counter { 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 { return counter.NewStack(name, depth) }