Skip to content

Commit 820ca0a

Browse files
author
José Valim
committed
Do not use Enum on bootstrap
1 parent cf309ed commit 820ca0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/record.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ defmodule Record do
221221
end
222222
223223
defp record_split([], defaults, types) do
224-
{ Enum.reverse(defaults), types }
224+
{ :lists.reverse(defaults), types }
225225
end
226226
227227
@doc """
@@ -270,7 +270,7 @@ defmodule Record do
270270
end
271271

272272
defp recordp_split([], defaults, types) do
273-
{ Enum.reverse(defaults), Enum.reverse(types) }
273+
{ :lists.reverse(defaults), :lists.reverse(types) }
274274
end
275275

276276
@doc """

0 commit comments

Comments
 (0)