make helper function private

This commit is contained in:
Adam Millerchip 2022-11-28 02:16:26 +09:00
parent 01747af081
commit 1b87681fda

View file

@ -27,7 +27,7 @@ defmodule DayREPLACE_ME do
end end
end end
def run_parts_with_timer(input) do defp run_parts_with_timer(input) do
{p1_microsecs, p1_result} = :timer.tc(fn -> part1(input) end) {p1_microsecs, p1_result} = :timer.tc(fn -> part1(input) end)
IO.puts("Part 1 (completed in #{format_time(p1_microsecs)}):") IO.puts("Part 1 (completed in #{format_time(p1_microsecs)}):")
IO.write("\n") IO.write("\n")