Skip to content

Commit db5c155

Browse files
wojtekmachJosé Valim
authored andcommitted
Fix defguardp arity in docs (#7546)
Signed-off-by: José Valim <[email protected]>
1 parent 984495f commit db5c155

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/kernel.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4571,7 +4571,7 @@ defmodule Kernel do
45714571
allowed in guards, and otherwise creates a private macro that can be used
45724572
both inside or outside guards in the current module.
45734573
4574-
Similar to `defmacrop/2`, `defguardp/2` must be defined before its use
4574+
Similar to `defmacrop/2`, `defguardp/1` must be defined before its use
45754575
in the current module.
45764576
"""
45774577
@spec defguardp(Macro.t()) :: Macro.t()

0 commit comments

Comments
 (0)