aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2021-07-23 22:28:26 +0900
committerRuss Cox <rsc@golang.org>2021-08-17 13:54:10 +0000
commit4012fea822763ef3aa66dd949fa95b9f8d89450a (patch)
tree8419513e85867c188fb57e25cd660c53509dfee6 /test
parentb7b790a71a86678f036b7d30a892c5f792c5092f (diff)
downloadgo-4012fea822763ef3aa66dd949fa95b9f8d89450a.tar.gz
go-4012fea822763ef3aa66dd949fa95b9f8d89450a.zip
all: fix typos
Change-Id: I83180c472db8795803c1b9be3a33f35959e4dcc2 Reviewed-on: https://go-review.googlesource.com/c/go/+/336889 Reviewed-by: Rob Pike <r@golang.org> Reviewed-by: Austin Clements <austin@google.com>
Diffstat (limited to 'test')
-rw-r--r--test/typeparam/slices.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/typeparam/slices.go b/test/typeparam/slices.go
index b5e8e0c606..4bdf10748e 100644
--- a/test/typeparam/slices.go
+++ b/test/typeparam/slices.go
@@ -60,7 +60,7 @@ func _Equal[Elem comparable](s1, s2 []Elem) bool {
return true
}
-// _EqualFn reports whether two slices are equal using a comparision
+// _EqualFn reports whether two slices are equal using a comparison
// function on each element.
func _EqualFn[Elem any](s1, s2 []Elem, eq func(Elem, Elem) bool) bool {
if len(s1) != len(s2) {