Skip to content

Commit aa350b1

Browse files
committed
Rename varify to convert_variables
1 parent 442a49a commit aa350b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/protocol.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,9 @@ defmodule Protocol do
280280
type_args = :lists.map(fn _ -> quote(do: term) end, :lists.seq(2, arity))
281281
type_args = [quote(do: t) | type_args]
282282

283-
verify = fn pos -> Macro.var(String.to_atom("arg" <> Integer.to_string(pos)), __MODULE__) end
283+
convert_variables = fn pos -> Macro.var(String.to_atom("arg" <> Integer.to_string(pos)), __MODULE__) end
284284

285-
call_args = :lists.map(verify, :lists.seq(2, arity))
285+
call_args = :lists.map(convert_variables, :lists.seq(2, arity))
286286
call_args = [quote(do: term) | call_args]
287287

288288
quote generated: true do

0 commit comments

Comments
 (0)