This commit is contained in:
Mark McGranaghan 2012-10-11 15:59:38 -07:00
parent 5c59f4cce7
commit 69876ff595

View File

@ -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)
}