From: guoguangwu Date: Sun, 10 Mar 2024 07:36:36 +0000 (+0000) Subject: cmd/trace/v2: fix typo in comment X-Git-Tag: go1.23rc1~928 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b28b4248f94e49de4fa169e2f76e01a49647b20d;p=gostls13.git cmd/trace/v2: fix typo in comment Change-Id: Icbf295e668335945084616a88c3ea2cef1bb2527 GitHub-Last-Rev: 0341d0fea71a194d7a85741f6951c8c7c21aee33 GitHub-Pull-Request: golang/go#66229 Reviewed-on: https://go-review.googlesource.com/c/go/+/570356 Reviewed-by: Ian Lance Taylor Auto-Submit: Ian Lance Taylor LUCI-TryBot-Result: Go LUCI Reviewed-by: Cherry Mui --- diff --git a/src/cmd/trace/v2/regions.go b/src/cmd/trace/v2/regions.go index 5d04fd2ae5..01233284ea 100644 --- a/src/cmd/trace/v2/regions.go +++ b/src/cmd/trace/v2/regions.go @@ -20,7 +20,7 @@ import ( "time" ) -// UserTasksHandlerFunc returns a HandlerFunc that reports all regions found in the trace. +// UserRegionsHandlerFunc returns a HandlerFunc that reports all regions found in the trace. func UserRegionsHandlerFunc(t *parsedTrace) http.HandlerFunc { return func(w http.ResponseWriter, r *http.Request) { // Summarize all the regions.