]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/telemetry: fix typo in comments
authorguoguangwu <guoguangwug@gmail.com>
Sat, 18 May 2024 01:37:36 +0000 (01:37 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 20 May 2024 15:47:30 +0000 (15:47 +0000)
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 <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>

src/cmd/internal/telemetry/telemetry.go

index 221b6a007d37286c84a07ab0a358bbaeb8d9f024..f11d80d19f95fc1c706899a80fd8478e8bb86289 100644 (file)
@@ -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)
 }