Remove extraneous header from std.algorithm.reduce example

This commit is contained in:
Jakob Ovrum 2013-12-16 17:13:11 +09:00
parent e569476df9
commit d56d317220

View file

@ -855,13 +855,12 @@ unittest
} }
/** /**
$(DDOC_SECTION_H Multiple functions:) Sometimes it is very useful to Sometimes it is very useful to compute multiple aggregates in one pass.
compute multiple aggregates in one pass. One advantage is that the One advantage is that the computation is faster because the looping overhead
computation is faster because the looping overhead is shared. That's is shared. That's why $(D reduce) accepts multiple functions.
why $(D reduce) accepts multiple functions. If two or more functions If two or more functions are passed, $(D reduce) returns a
are passed, $(D reduce) returns a $(XREF typecons, Tuple) object with $(XREF typecons, Tuple) object with one member per passed-in function.
one member per passed-in function. The number of seeds must be The number of seeds must be correspondingly increased.
correspondingly increased.
*/ */
unittest unittest
{ {