From 0b45fc77c6f172feadb913267daf4279ff3024a0 Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Wed, 13 Mar 2024 11:23:16 +0000 Subject: [PATCH] Fix pred description when there's no needle --- std/algorithm/searching.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/algorithm/searching.d b/std/algorithm/searching.d index 195e94308..2d89dea3f 100644 --- a/std/algorithm/searching.d +++ b/std/algorithm/searching.d @@ -720,7 +720,7 @@ that is returned right away, otherwise performs $(BIGOH haystack.length) to walk the range. Params: - pred = Optional predicate to compare elements. + pred = Optional predicate to find elements. haystack = The range to _count. Returns: