diff options
author | Peter Saxton <peterhsaxton@gmail.com> | 2018-05-02 10:29:10 +0100 |
---|---|---|
committer | Michał Muskała <michal@muskala.eu> | 2018-05-02 11:29:10 +0200 |
commit | 4b4e9e99879859746cc2c94c5a280a3c92cd61a9 (patch) | |
tree | 5a9d70ae154f8e2542f3af7d6957a2dd1f1ccae8 | |
parent | f1b8613162ab1ce61ad2c3086d86fbd9e4898f4c (diff) | |
download | elixir-4b4e9e99879859746cc2c94c5a280a3c92cd61a9.tar.gz |
keys and values of decoded query are always binary (#7635)
-rw-r--r-- | lib/elixir/lib/uri.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/elixir/lib/uri.ex b/lib/elixir/lib/uri.ex index 9618b809b..293bedd45 100644 --- a/lib/elixir/lib/uri.ex +++ b/lib/elixir/lib/uri.ex @@ -128,7 +128,7 @@ defmodule URI do %{"percent" => "oh yes!", "starting" => "map"} """ - @spec decode_query(binary, map) :: map + @spec decode_query(binary, %{binary => binary}) :: %{binary => binary} def decode_query(query, map \\ %{}) # TODO: Remove on 2.0 |