From 690b7c9eba64065636bc837be6162adba97be9a6 Mon Sep 17 00:00:00 2001 From: John Wang Date: Mon, 27 Nov 2023 01:38:01 -0800 Subject: [PATCH] lint: golangci: fix misspelling --- type/slicesutil/slice.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/type/slicesutil/slice.go b/type/slicesutil/slice.go index 9b3ebf9..7502cff 100644 --- a/type/slicesutil/slice.go +++ b/type/slicesutil/slice.go @@ -23,7 +23,7 @@ func Dedupe[S ~[]E, E comparable](s S) S { } // LengthCounts returns a `map[uint]uint` where the keys are element lengths and the values -// are counts of slices with those lenghts. +// are counts of slices with those lengths. func LengthCounts[E any](s [][]E) map[uint]uint { stats := map[uint]uint{} for _, si := range s {