From bfebdc7ecccfa2364ab70ed33e15b7642657a00f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Per=20Nordl=C3=B6w?= Date: Thu, 22 Oct 2015 08:43:20 +0200 Subject: [PATCH] Add alternative commenting --- std/algorithm/searching.d | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/std/algorithm/searching.d b/std/algorithm/searching.d index 3c9acddb1c9..56af8effba2 100644 --- a/std/algorithm/searching.d +++ b/std/algorithm/searching.d @@ -3154,12 +3154,13 @@ bool skipOver(alias pred, R, E)(ref R r, E e) /** Checks whether the given $(XREF_PACK_NAMED range,primitives,isInputRange,input range) starts with (one -of) the given needle(s). +of) the given needle(s) or, if no needles are given, +if its front element fulfils predicate $(D pred). Params: pred = Predicate to use in comparing the elements of the haystack and the - needle(s). + needle(s). Mandatory if no needles are given. doesThisStart = The input range to check.