From 6f962489b9104915b1d36aa79c412ee849d3bcc2 Mon Sep 17 00:00:00 2001 From: crbelaus Date: Thu, 17 Aug 2023 16:14:37 +0200 Subject: [PATCH] Fix incorrect spec --- lib/next_ls/db.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/next_ls/db.ex b/lib/next_ls/db.ex index 8cbdbc8b..bdf665c3 100644 --- a/lib/next_ls/db.ex +++ b/lib/next_ls/db.ex @@ -19,7 +19,7 @@ defmodule NextLS.DB do @spec insert_reference(pid(), map()) :: :ok def insert_reference(server, payload), do: GenServer.cast(server, {:insert_reference, payload}) - @spec insert_reference(pid(), String.t()) :: :ok + @spec clean_references(pid(), String.t()) :: :ok def clean_references(server, filename), do: GenServer.cast(server, {:clean_references, filename}) def init(args) do