aboutsummaryrefslogtreecommitdiff
path: root/test/typeparam/slices.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/typeparam/slices.go')
-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) {