Skip to content

Commit e4c1e3d

Browse files
author
José Valim
committed
Format kernel accordingly
1 parent 3f63139 commit e4c1e3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/kernel.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3038,8 +3038,8 @@ defmodule Kernel do
30383038
end
30393039

30403040
defp range(_context, first, last)
3041-
when is_float(first) or is_float(last) or is_atom(first) or is_atom(last) or
3042-
is_binary(first) or is_binary(last) or is_list(first) or is_list(last) do
3041+
when is_float(first) or is_float(last) or is_atom(first) or is_atom(last) or
3042+
is_binary(first) or is_binary(last) or is_list(first) or is_list(last) do
30433043
raise ArgumentError,
30443044
"ranges (first..last) expect both sides to be integers, " <>
30453045
"got: #{Macro.to_string({:.., [], [first, last]})}"

0 commit comments

Comments
 (0)