@@ -72,7 +72,9 @@ let rec summarize ~include_types node =
7272 match id_of_patt vb.vb_pat with
7373 | None -> None
7474 | Some ident ->
75- let typ = outline_type ~include_types ~env: node.t_env vb.vb_pat.pat_type in
75+ let typ =
76+ outline_type ~include_types ~env: node.t_env vb.vb_pat.pat_type
77+ in
7678 Some (mk ~location ~deprecated `Value typ ident)
7779 end
7880 | Value_description vd ->
@@ -171,18 +173,24 @@ and get_class_elements node =
171173 | _ -> []
172174
173175and get_mod_children ~include_types node =
174- List. concat_map (Lazy. force node.t_children) ~f: (remove_mod_indir ~include_types )
176+ List. concat_map
177+ (Lazy. force node.t_children)
178+ ~f: (remove_mod_indir ~include_types )
175179
176180and remove_mod_indir ~include_types node =
177181 match node.t_node with
178182 | Module_expr _ | Module_type _ ->
179- List. concat_map (Lazy. force node.t_children) ~f: (remove_mod_indir ~include_types )
183+ List. concat_map
184+ (Lazy. force node.t_children)
185+ ~f: (remove_mod_indir ~include_types )
180186 | _ -> remove_top_indir ~include_types node
181187
182188and remove_top_indir ~include_types t =
183189 match t.t_node with
184190 | Structure _ | Signature _ ->
185- List. concat_map ~f: (remove_top_indir ~include_types ) (Lazy. force t.t_children)
191+ List. concat_map
192+ ~f: (remove_top_indir ~include_types )
193+ (Lazy. force t.t_children)
186194 | Signature_item _ | Structure_item _ ->
187195 List. filter_map (Lazy. force t.t_children) ~f: (summarize ~include_types )
188196 | _ -> []
0 commit comments