Skip to content

Commit

Permalink
lint: golangci: fix misspelling
Browse files Browse the repository at this point in the history
  • Loading branch information
grokify committed Nov 27, 2023
1 parent cbdaf2b commit 690b7c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion type/slicesutil/slice.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 690b7c9

Please sign in to comment.