diff --git a/std/algorithm/iteration.d b/std/algorithm/iteration.d index 0fe47df95..d4e06e6ac 100644 --- a/std/algorithm/iteration.d +++ b/std/algorithm/iteration.d @@ -11,8 +11,8 @@ $(T2 cache, Eagerly evaluates and caches another range's $(D front).) $(T2 cacheBidirectional, As above, but also provides $(D back) and $(D popBack).) -$(T2 chunkyBy, - $(D chunkyBy!((a,b) => a[1] == b[1])([[1, 1], [1, 2], [2, 2], [2, 1]])) +$(T2 chunkBy, + $(D chunkBy!((a,b) => a[1] == b[1])([[1, 1], [1, 2], [2, 2], [2, 1]])) returns a range containing 3 subranges: the first with just $(D [1, 1]); the second with the elements $(D [1, 2]) and $(D [2, 2]); and the third with just $(D [2, 1]).)