File tree 3 files changed +4
-2
lines changed
3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ let parse_child c =
26
26
let parse_children_order loc co =
27
27
let rec parse_words acc words =
28
28
match words with
29
- | [] -> Ok (Location_. at loc (Children_order (List. rev acc)))
29
+ | [] -> Result. Ok (Location_. at loc (Children_order (List. rev acc)))
30
30
| ({ Location_. value = `Word word ; _ } as w ) :: tl ->
31
31
parse_words ({ w with value = parse_child word } :: acc) tl
32
32
| { Location_. value = `Space _ ; _ } :: tl -> parse_words acc tl
Original file line number Diff line number Diff line change @@ -11,6 +11,6 @@ val empty : t
11
11
val parse_children_order :
12
12
Location_ .span ->
13
13
Odoc_parser.Ast .nestable_block_element Location_ .with_location list ->
14
- (line Location_ .with_location , Error .t ) result
14
+ (line Location_ .with_location , Error .t ) Result . result
15
15
16
16
val of_lines : line Location_ .with_location list -> t Error .with_warnings
Original file line number Diff line number Diff line change
1
+ open Odoc_utils
2
+
1
3
module Location = Location_
2
4
module Ast = Odoc_parser. Ast
3
5
You can’t perform that action at this time.
0 commit comments