summaryrefslogtreecommitdiff
path: root/src/misc.erl
diff options
context:
space:
mode:
authorPaweł Chmielowski <pawel@process-one.net>2022-05-06 10:15:23 +0200
committerPaweł Chmielowski <pawel@process-one.net>2022-05-06 10:15:23 +0200
commit84d8c156a0745b1a93880c942b14db93b4c35982 (patch)
treec3a3310209203ea3a88946afd50e2454af7b3598 /src/misc.erl
parentReturn userinfo from misc:uri_parse (diff)
Fix spec
Diffstat (limited to 'src/misc.erl')
-rw-r--r--src/misc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc.erl b/src/misc.erl
index 5eb2cf60..352a0f08 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));