]> Cypherpunks repositories - gostls13.git/commitdiff
Oops, forgot to commit this change.
authorDavid Symonds <dsymonds@golang.org>
Mon, 20 Apr 2009 07:43:10 +0000 (00:43 -0700)
committerDavid Symonds <dsymonds@golang.org>
Mon, 20 Apr 2009 07:43:10 +0000 (00:43 -0700)
R=r
APPROVED=r
DELTA=3  (1 added, 0 deleted, 2 changed)
OCL=27624
CL=27626

src/lib/container/iterable.go

index 61c744c01a224b4b51a2dc86884808a7570c1d81..bdcce11d0aae207d33304676f6cfa6ea878ef7a2 100644 (file)
@@ -79,8 +79,9 @@ func Find(iter Iterable, f func(interface {}) bool) interface {} {
        return nil
 }
 
-// An injector function takes two arguments, an accumulated value and an
-// element, and returns the next accumulated value. See the Inject function.
+// Injector is a type representing a function that takes two arguments,
+// an accumulated value and an element, and returns the next accumulated value.
+// See the Inject function.
 type Injector func(interface {}, interface {}) interface{};
 
 // Inject combines the elements of iter by repeatedly calling f with an