From 623ac03fea6a653f93bd7a095c65b9b94947b9e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Mon, 21 Nov 2022 09:49:32 +0100 Subject: [PATCH] mix format --- lib/ex_doc/retriever.ex | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/ex_doc/retriever.ex b/lib/ex_doc/retriever.ex index 6a1cfc486..7759b7737 100644 --- a/lib/ex_doc/retriever.ex +++ b/lib/ex_doc/retriever.ex @@ -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)