Skip to content

Commit

Permalink
Fix incompatibilities with Elixir master
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed May 5, 2020
1 parent aa1b3da commit 5d37908
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ex_doc/retriever.ex
Expand Up @@ -408,7 +408,7 @@ defmodule ExDoc.Retriever do

defp callbacks_defined_by(module) do
case Code.Typespec.fetch_callbacks(module) do
{:ok, callbacks} -> Keyword.keys(callbacks)
{:ok, callbacks} -> Enum.map(callbacks, &elem(&1, 0))
:error -> []
end
end
Expand Down

0 comments on commit 5d37908

Please sign in to comment.