Skip to content

Commit fb97713

Browse files
MainShayne233josevalim
authored andcommitted
Add missing typespecs to Macro.underscore/1 (#8536)
1 parent 3f6dd0b commit fb97713

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/elixir/lib/macro.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,6 +1408,7 @@ defmodule Macro do
14081408
"Hello10"
14091409
14101410
"""
1411+
@spec underscore(atom | String.t()) :: String.t()
14111412
def underscore(atom) when is_atom(atom) do
14121413
"Elixir." <> rest = Atom.to_string(atom)
14131414
underscore(rest)

0 commit comments

Comments
 (0)