fixes #14
This commit is contained in:
@@ -36,7 +36,7 @@ func All(elems []string, f func(string) bool) bool {
|
||||
|
||||
func Filter(vs []string, f func(string) bool) []string {
|
||||
vsf := make([]string, 0)
|
||||
for _, v := range elems {
|
||||
for _, v := range vs {
|
||||
if f(v) {
|
||||
vsf = append(vsf, v)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user