Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Use Elixir's integer_to_binary

  • Loading branch information...
commit 2c660668b9aa5543056c52f01729f0c54065071b 1 parent 4c782e9
Devin Torres authored October 18, 2012

Showing 1 changed file with 0 additions and 4 deletions. Show diff stats Hide diff stats

  1. 4  lib/dynamo/http/utils.ex
4  lib/dynamo/http/utils.ex
@@ -46,10 +46,6 @@ defmodule Dynamo.HTTP.Utils do
46 46
     integer_to_binary(number)
47 47
   end
48 48
 
49  
-  defp integer_to_binary(number) do
50  
-    number /> integer_to_list /> list_to_binary
51  
-  end
52  
-
53 49
   defp rfc2822({ { year, month, day } = date, { hour, minute, second } }) do
54 50
     weekday_name  = weekday_name(:calendar.day_of_the_week(date))
55 51
     month_name    = month_name(month)

0 notes on commit 2c66066

Please sign in to comment.
Something went wrong with that request. Please try again.