From 238baa14faf59e8ad20e628e3cdd2c2365b5b4b5 Mon Sep 17 00:00:00 2001 From: Takayuki Matsubara Date: Mon, 23 Dec 2013 13:57:50 +0900 Subject: [PATCH] fix typo in URI docs URI.decode_query returns a `HashDict` --- lib/elixir/lib/uri.ex | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/elixir/lib/uri.ex b/lib/elixir/lib/uri.ex index 3a1d8d948fc..b74e7c4f9c5 100644 --- a/lib/elixir/lib/uri.ex +++ b/lib/elixir/lib/uri.ex @@ -76,10 +76,10 @@ defmodule URI do def encode_query(l), do: Enum.map_join(l, "&", &pair/1) @doc """ - Decodes a query string into an orddict. + Decodes a query string into a `HashDict`. - Given a query string of the form "key1=value1&key2=value2...", produces an - orddict with one entry for each key-value pair. Each key and value will be a + Given a query string of the form "key1=value1&key2=value2...", produces a + `HashDict` with one entry for each key-value pair. Each key and value will be a binary. Keys and values will be percent-unescaped. Use `query_decoder/1` if you want to iterate over each value manually.