Skip to content

Commit 4870429

Browse files
authored
Merge pull request #5026 from dlang/UplinkCoder-patch-1
correct anySatisfy docs
2 parents 8800cbf + ecd689d commit 4870429

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

std/meta.d

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -852,8 +852,8 @@ template allSatisfy(alias F, T...)
852852
Tests whether any given items satisfy a template predicate, i.e. evaluates to
853853
$(D F!(T[0]) || F!(T[1]) || ... || F!(T[$ - 1])).
854854
855-
Evaluation is $(I not) short-circuited if a true result is encountered; the
856-
template predicate must be instantiable with all the given items.
855+
Evaluation is short-circuited if a true result is encountered; the
856+
template predicate must be instantiable with one of the given items.
857857
*/
858858
template anySatisfy(alias F, T...)
859859
{

0 commit comments

Comments
 (0)