Permalink
Browse files

Use Elixir's integer_to_binary

  • Loading branch information...
1 parent 4c782e9 commit 2c660668b9aa5543056c52f01729f0c54065071b @devinus committed Oct 18, 2012
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/dynamo/http/utils.ex
View
@@ -46,10 +46,6 @@ defmodule Dynamo.HTTP.Utils do
integer_to_binary(number)
end
- defp integer_to_binary(number) do
- number /> integer_to_list /> list_to_binary
- end
-
defp rfc2822({ { year, month, day } = date, { hour, minute, second } }) do
weekday_name = weekday_name(:calendar.day_of_the_week(date))
month_name = month_name(month)

0 comments on commit 2c66066

Please sign in to comment.