From 6d42861cce07d6443cd8eca71584eabdeeb67288 Mon Sep 17 00:00:00 2001 From: Mark McGranaghan Date: Wed, 31 Oct 2012 06:59:07 -0700 Subject: [PATCH] more collection-function fixes --- examples/collection-functions/collection-functions.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/collection-functions/collection-functions.go b/examples/collection-functions/collection-functions.go index 412d99a..1b2b237 100644 --- a/examples/collection-functions/collection-functions.go +++ b/examples/collection-functions/collection-functions.go @@ -38,7 +38,7 @@ func Include(vs []string, t string) bool { return Index(vs, t) >= 0 } -// Returns `true` if the one of the strings in the slice +// Returns `true` if one of the strings in the slice // satisfies the predicate `f`. func Any(vs []string, f func(string) bool) bool { for _, v := range vs { @@ -49,7 +49,7 @@ func Any(vs []string, f func(string) bool) bool { return false } -// Returns `true` if the all of the strings in the slice +// Returns `true` if all of the strings in the slice // satisfy the predicate `f`. func All(vs []string, f func(string) bool) bool { for _, v := range vs {