aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/misc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.erl b/src/misc.erl
index 5eb2cf608..352a0f084 100644
--- a/src/misc.erl
+++ b/src/misc.erl
@@ -56,7 +56,7 @@
-type distance_cache() :: #{{string(), string()} => non_neg_integer()}.
--spec uri_parse(binary()|string()) -> {ok, string(), string(), number(), string(), string()} | {error, term()}.
+-spec uri_parse(binary()|string()) -> {ok, string(), string(), string(), number(), string(), string()} | {error, term()}.
-ifdef(USE_OLD_HTTP_URI).
uri_parse(URL) when is_binary(URL) ->
uri_parse(binary_to_list(URL));