From d88fb9f0f6863202b6926338df03030bd9b49031 Mon Sep 17 00:00:00 2001 From: David Symonds Date: Mon, 20 Apr 2009 00:43:10 -0700 Subject: [PATCH] Oops, forgot to commit this change. R=r APPROVED=r DELTA=3 (1 added, 0 deleted, 2 changed) OCL=27624 CL=27626 --- src/lib/container/iterable.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.48.1