From: Fabian Wickborn Date: Wed, 5 Jul 2017 08:09:05 +0000 (+0200) Subject: runtime/pprof: Fix type name in function comment X-Git-Tag: go1.9rc1~106 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b5240daa2f56e7dd778cfbab17adecbf50a62674;p=gostls13.git runtime/pprof: Fix type name in function comment The name LabelList was changed to LabelSet during the development of the proposal [1], except in one function comment. This commit fixes that. Fixes #20905. [1] https://github.com/golang/go/issues/17280 Change-Id: Id4f48d59d7d513fa24b2e42795c2baa5ceb78f36 Reviewed-on: https://go-review.googlesource.com/47470 Reviewed-by: Brad Fitzpatrick --- 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 {