Skip to content

Commit 7aeb1b6

Browse files
committed
Minor style fix in Enum.take_every/2
1 parent f3f64cd commit 7aeb1b6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/elixir/lib/enum.ex

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1052,9 +1052,7 @@ defmodule Enum do
10521052

10531053
case res do
10541054
nil -> []
1055-
_ ->
1056-
{ list, _ } = res
1057-
:lists.reverse(list)
1055+
{ list, _ } -> :lists.reverse(list)
10581056
end
10591057
end
10601058

0 commit comments

Comments
 (0)