Remove one more unneeded map
This commit is contained in:
parent
07c5ebcb1e
commit
7a1ed0c974
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ defmodule Day16Part2 do
|
||||||
|> String.split("\n\n", trim: true)
|
|> String.split("\n\n", trim: true)
|
||||||
|> Enum.map(&String.split(&1, "\n", trim: true))
|
|> Enum.map(&String.split(&1, "\n", trim: true))
|
||||||
|
|
||||||
rules = Map.new(rules, &parse_rule/1)
|
rules = Enum.map(rules, &parse_rule/1)
|
||||||
|
|
||||||
[my_ticket | nearby_tickets] =
|
[my_ticket | nearby_tickets] =
|
||||||
[my_ticket | nearby_tickets]
|
[my_ticket | nearby_tickets]
|
||||||
|
|
Loading…
Reference in a new issue