From: David Symonds Date: Mon, 20 Apr 2009 07:43:10 +0000 (-0700) Subject: Oops, forgot to commit this change. X-Git-Tag: weekly.2009-11-06~1793 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=d88fb9f0f6863202b6926338df03030bd9b49031;p=gostls13.git Oops, forgot to commit this change. R=r APPROVED=r DELTA=3 (1 added, 0 deleted, 2 changed) OCL=27624 CL=27626 --- diff --git a/src/lib/container/iterable.go b/src/lib/container/iterable.go index 61c744c01a..bdcce11d0a 100644 --- a/src/lib/container/iterable.go +++ b/src/lib/container/iterable.go @@ -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