Skip to content

Commit f2addbb

Browse files
author
José Valim
committed
Improve docs for Enum.all?/2, closes #1508
1 parent b5e5797 commit f2addbb

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/elixir/lib/enum.ex

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,8 @@ defmodule Enum do
118118
end
119119

120120
@doc """
121-
Invokes the given `fun` for each item in the `collection` and returns true if
122-
each invocation returns true as well, otherwise it short-circuits and returns
123-
false.
121+
Invokes the given `fun` for each item in the `collection` and returns false
122+
if at least one invocation returns false. Otherwise returns true.
124123
125124
## Examples
126125

0 commit comments

Comments
 (0)