Skip to content

Commit

Permalink
mix format
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Nov 21, 2022
1 parent a9284d5 commit 623ac03
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ex_doc/retriever.ex
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ defmodule ExDoc.Retriever do

# TODO: The default function groups must be returned by the language
groups_for_functions =
config.groups_for_functions ++ [Callbacks: & &1[:__doc__] == :callback, Functions: fn _ -> true end]
config.groups_for_functions ++
[Callbacks: &(&1[:__doc__] == :callback), Functions: fn _ -> true end]

docs_groups = Enum.map(groups_for_functions, &elem(&1, 0))
function_docs = get_docs(module_data, source, groups_for_functions)
Expand Down

0 comments on commit 623ac03

Please sign in to comment.