Skip to content

Commit 238baa1

Browse files
committed
fix typo in URI docs
URI.decode_query returns a `HashDict`
1 parent 3f4410f commit 238baa1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/elixir/lib/uri.ex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@ defmodule URI do
7676
def encode_query(l), do: Enum.map_join(l, "&", &pair/1)
7777

7878
@doc """
79-
Decodes a query string into an orddict.
79+
Decodes a query string into a `HashDict`.
8080
81-
Given a query string of the form "key1=value1&key2=value2...", produces an
82-
orddict with one entry for each key-value pair. Each key and value will be a
81+
Given a query string of the form "key1=value1&key2=value2...", produces a
82+
`HashDict` with one entry for each key-value pair. Each key and value will be a
8383
binary. Keys and values will be percent-unescaped.
8484
8585
Use `query_decoder/1` if you want to iterate over each value manually.

0 commit comments

Comments
 (0)