From c3b9cc3dc18057abdf276e0011b810149c3f825c Mon Sep 17 00:00:00 2001 From: "H. S. Teoh" Date: Thu, 8 Jan 2015 17:21:37 -0800 Subject: [PATCH] Clarify docs for splitter. --- std/algorithm.d | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/std/algorithm.d b/std/algorithm.d index 75dc101ad..cf1654321 100644 --- a/std/algorithm.d +++ b/std/algorithm.d @@ -2998,9 +2998,10 @@ consider using $(D splitter) without specifying a separator (see third overload below). Params: - r = The $(XREF2 range, isInputRange, input range) to be split. + r = The $(XREF2 range, isInputRange, input range) to be split. Must support + slicing and $(D .length). s = The element to be treated as the separator between range segments to be - split. + split. Must be of the same type as the element type of $(D r). Returns: An input range of the subranges of elements between separators. If $(D r)