Skip to content

Commit 8b49e40

Browse files
committed
Fix spec for get_docs
1 parent 1cea16e commit 8b49e40

File tree

1 file changed

+1
-1
lines changed
  • lib/elixir_sense/core/normalized

1 file changed

+1
-1
lines changed

lib/elixir_sense/core/normalized/code.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule ElixirSense.Core.Normalized.Code do
2020
Shim to replicate the behavior of deprecated `Code.get_docs/2`
2121
"""
2222
@spec get_docs(module, :docs) :: nil | [fun_doc_entry_t]
23-
@spec get_docs(module, :callback_docs | :type_docs) :: nil | [:doc_entry_t]
23+
@spec get_docs(module, :callback_docs | :type_docs) :: nil | [doc_entry_t]
2424
@spec get_docs(module, :moduledoc) :: nil | moduledoc_entry_t
2525
def get_docs(module, category) do
2626
case fetch_docs(module) do

0 commit comments

Comments
 (0)