Skip to content

Commit 64296f1

Browse files
author
José Valim
committed
Improve and/or operator docs
1 parent 8e7b869 commit 64296f1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/elixir/lib/kernel.ex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,8 @@ defmodule Kernel do
148148
end
149149

150150
@doc """
151-
Boolean or. Requires the first argument to be a boolean
152-
and also short-circuits. Allowed in guard clauses.
151+
Boolean or. Requires only the first argument to be a
152+
boolean since it short-circuits. Allowed in guard clauses.
153153
154154
## Examples
155155
@@ -160,8 +160,8 @@ defmodule Kernel do
160160
defmacro left or right
161161

162162
@doc """
163-
Boolean and. Requires the first argument to be a boolean
164-
and also short-circuits. Allowed in guard clauses.
163+
Boolean and. Requires only the first argument to be a
164+
boolean since it short-circuits. Allowed in guard clauses.
165165
166166
## Examples
167167

0 commit comments

Comments
 (0)