Commit d88fb9f0 authored by David Symonds's avatar David Symonds

Oops, forgot to commit this change.

R=r
APPROVED=r
DELTA=3  (1 added, 0 deleted, 2 changed)
OCL=27624
CL=27626
parent dc5cffbe
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment