Skip to content

Commit a620e9e

Browse files
committed
Fix example
1 parent c5cdffa commit a620e9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir/lib/uri.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,7 @@ defmodule URI do
665665
666666
case URI.new(path) do
667667
{:ok, uri} -> uri
668-
{:error, _, _} -> %URI{path: path}
668+
{:error, _} -> %URI{path: path}
669669
end
670670
671671
Also note this function sets the authority field, but the field has been

0 commit comments

Comments
 (0)