aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/runtime/pprof/label.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/pprof/label.go b/src/runtime/pprof/label.go
index 44da3f8737..35647ee3ce 100644
--- a/src/runtime/pprof/label.go
+++ b/src/runtime/pprof/label.go
@@ -52,7 +52,7 @@ func WithLabels(ctx context.Context, labels LabelSet) context.Context {
}
// Labels takes an even number of strings representing key-value pairs
-// and makes a LabelList containing them.
+// and makes a LabelSet containing them.
// A label overwrites a prior label with the same key.
func Labels(args ...string) LabelSet {
if len(args)%2 != 0 {