analysis: fix typo
Change-Id: I7ae61208c4eb08d68f61ec992e2faed73b9a2373
GitHub-Last-Rev: a7fef51fcede189739ecd60c9fca0caae79fec80
GitHub-Pull-Request: golang/perf#3
Reviewed-on: https://go-review.googlesource.com/c/perf/+/390415
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Trust: Alberto Donizetti <alb.donizetti@gmail.com>
diff --git a/analysis/app/trend.go b/analysis/app/trend.go
index 88d88ab..dfda67a 100644
--- a/analysis/app/trend.go
+++ b/analysis/app/trend.go
@@ -27,7 +27,7 @@
)
// trend handles /trend.
-// With no query, it prints the list of recent uploads containg a "trend" key.
+// With no query, it prints the list of recent uploads containing a "trend" key.
// With a query, it shows a graph of the matching benchmark results.
func (a *App) trend(w http.ResponseWriter, r *http.Request) {
ctx := requestContext(r)
@@ -407,7 +407,7 @@
})
}
-// removeNaNs returns a new Grouping with rows containg NaN in col removed.
+// removeNaNs returns a new Grouping with rows containing NaN in col removed.
func removeNaNs(g table.Grouping, col string) table.Grouping {
return table.Filter(g, func(result float64) bool {
return !math.IsNaN(result)