We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 252b146 commit a7fc4a9Copy full SHA for a7fc4a9
1 file changed
filter.go
@@ -98,7 +98,7 @@ func filterCookieSeq(ctx context.Context, cookies CookieSeq, filters ...Filter)
98
func filterCookieSlice[S ~[]*T, T Cookie | http.Cookie](ctx context.Context, cookies S, filters ...Filter) CookieSeq {
99
return func(yield func(*Cookie, error) bool) {
100
if len(cookies) < 1 {
101
- _ = yield(nil, errors.New(`cookie slice of lenght 0`))
+ _ = yield(nil, errors.New(`cookie slice of length 0`))
102
return
103
}
104
switch cookiesTyped := any(cookies).(type) {
0 commit comments