Skip to content

Commit d5f5da6

Browse files
committed
open Odoc_utils on top of file
1 parent 9e8604e commit d5f5da6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/model/comment.ml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
open Odoc_utils
2+
13
module Path = Paths.Path
24
module Reference = Paths.Reference
35
module Identifier = Paths.Identifier
@@ -130,7 +132,7 @@ and link_content_of_inline_elements l =
130132
l |> List.map link_content_of_inline_element |> List.concat
131133

132134
let find_zero_heading docs : link_content option =
133-
Odoc_utils.List.find_map
135+
List.find_map
134136
(fun doc ->
135137
match doc.Location_.value with
136138
| `Heading ({ heading_level = `Title; _ }, _, h_content) ->
@@ -141,9 +143,7 @@ let find_zero_heading docs : link_content option =
141143
let extract_frontmatter docs : _ =
142144
let parse_frontmatter s =
143145
let lines = Astring.String.cuts ~sep:"\n" s in
144-
Odoc_utils.List.filter_map
145-
(fun line -> Astring.String.cut ~sep:":" line)
146-
lines
146+
List.filter_map (fun line -> Astring.String.cut ~sep:":" line) lines
147147
in
148148
let fm, content =
149149
let fm, rev_content =

0 commit comments

Comments
 (0)