Skip to content

Commit e300c9f

Browse files
committed
Get rid of unresolved paths in docs
1 parent 1a63c65 commit e300c9f

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/document/utils.mli

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
val option_of_result : ('a, 'b) Result.result -> 'a option
2+
val flatmap : ?sep:'a list -> f:('b -> 'a list) -> 'b list -> 'a list
3+
val skip_until : p:('a -> bool) -> 'a list -> 'a list
4+
val split_at : f:('a -> bool) -> 'a list -> 'a list * 'a list
5+
val compute_length_source : Types.Source.t -> int
6+
val compute_length_inline : Types.Inline.t -> int

test/xref2/lib/common.cppo.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ module LangUtils = struct
602602

603603
end
604604

605-
let my_compilation_unit id s =
605+
let my_compilation_unit id (s : Odoc_model.Lang.Signature.t) =
606606
{ Odoc_model.Lang.Compilation_unit.
607607
id = id
608608
; root = root

0 commit comments

Comments
 (0)