We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b37c15 commit 8b5e1b5Copy full SHA for 8b5e1b5
src/odoc/occurrences.ml
@@ -46,7 +46,7 @@ end = struct
46
let rec add ?(kind = `Indirect) id =
47
let incr htbl id =
48
let { direct; indirect; sub } =
49
- match H.find_opt htbl id with Some n -> n | None -> v_item ()
+ try H.find htbl id with Not_found -> v_item ()
50
in
51
let direct, indirect =
52
match kind with
0 commit comments