From ae26bb35ab241fc650a98abc5e6d2161405977e3 Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Wed, 28 May 2025 12:03:41 +0200 Subject: [PATCH] Fix typo in URL.to_relative/1 spec --- lib/live_debugger/utils/url.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/live_debugger/utils/url.ex b/lib/live_debugger/utils/url.ex index 4dda678e2..d4db7293b 100644 --- a/lib/live_debugger/utils/url.ex +++ b/lib/live_debugger/utils/url.ex @@ -11,7 +11,7 @@ defmodule LiveDebugger.Utils.URL do iex> URL.to_relative("http://example.com/foo?bar=baz") "/foo?bar=baz" """ - @spec to_relative(utl :: String.t()) :: String.t() + @spec to_relative(url :: String.t()) :: String.t() def to_relative(url) when is_binary(url) do %{path: path, query: query} = URI.parse(url)