Skip to content

Commit

Permalink
Remove warning (#80)
Browse files Browse the repository at this point in the history
* bumped version

* removed Access protocol
  • Loading branch information
filipecabaco authored and valpackett committed Apr 15, 2016
1 parent 7b35d41 commit 173cafd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions lib/httpotion.ex
Original file line number Diff line number Diff line change
Expand Up @@ -289,10 +289,6 @@ defmodule HTTPotion do
{val, %Headers{hdrs: updated}}
end
end
defimpl Access, for: Headers do
def fetch(headers, key), do: Headers.fetch(headers, key)
def get_and_update(headers, key, acc), do: Headers.get_and_update(headers, key, acc)
end

defmodule AsyncResponse do
defstruct id: nil
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ defmodule HTTPotion.Mixfile do
name: "httpotion",
source_url: "https://github.com/myfreeweb/httpotion",
version: "2.2.2",
elixir: "~> 1.0",
elixir: "~> 1.2",
docs: [ extras: ["README.md", "CODE_OF_CONDUCT.md"] ],
description: description,
deps: deps,
Expand Down

0 comments on commit 173cafd

Please sign in to comment.