Skip to content

Commit

Permalink
Remove unncessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
code-shoily committed Jun 29, 2024
1 parent 0909fa3 commit 10fd035
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/advent_of_code.ex
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ defmodule AdventOfCode do
_ in UndefinedFunctionError -> {:error, :not_yet_solved}
end

# It takes whole four digits years (i.e. "Y2015")
defp get_year_module(year) when year >= 2015 and year <= @latest_year do
"Y" <> Integer.to_string(year)
end

# Single digit days are zero padded
defp get_day_module(day) when day >= 1 and day <= 25 do
day
|> Integer.to_string()
Expand Down

0 comments on commit 10fd035

Please sign in to comment.