Skip to content

Commit 7af9f8a

Browse files
committed
Updated documentation for Macro.split_call/1
1 parent fe5bfa0 commit 7af9f8a

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

lib/elixir/lib/macro.ex

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,9 @@ defmodule Macro do
103103
end
104104

105105
@doc """
106-
Decomposes a local or remote call. If a local call is provided,
107-
it returns a tuple with the function name and the argument list.
108-
If a remote call is provided, it returns a tuple with the
109-
module alias, function name and the argument list. Returns
110-
:error otherwise.
106+
Splits a local or remote call into its module alias (when a remote
107+
call is provided), function name and argument list.
108+
Returns :error when an invalid call syntax is provied.
111109
112110
## Examples
113111

0 commit comments

Comments
 (0)