From 4418fbc3772a278282bcb6b6a7ba1e3467878068 Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Fri, 24 Apr 2026 14:13:04 +0100 Subject: [PATCH] Remove unnecessary specs Function is private, and AsyncResult doesn't expose `t()` --- lib/music_library_web/components/release.ex | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/music_library_web/components/release.ex b/lib/music_library_web/components/release.ex index 0a5c3da5..8c81168b 100644 --- a/lib/music_library_web/components/release.ex +++ b/lib/music_library_web/components/release.ex @@ -769,11 +769,9 @@ defmodule MusicLibraryWeb.Components.Release do end end - @spec header_title(AsyncResult.t() | term()) :: String.t() defp header_title(%AsyncResult{ok?: true, result: release}), do: release.title defp header_title(_), do: "" - @spec header_subtitle(AsyncResult.t() | term()) :: String.t() | nil defp header_subtitle(%AsyncResult{ok?: true, result: release}) do case release.artists do [] ->