Skip to content

Commit f429ba2

Browse files
committed
class types: correct typo (fix ocaml/odoc#72)
1 parent 0c816af commit f429ba2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/to_html_tree.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ and class_type ~get_package (t : _ Types.ClassType.t) =
925925
match t.expansion with
926926
| None -> pcdata name, []
927927
| Some csig ->
928-
Html_tree.enter ~kind:(`Class) name;
928+
Html_tree.enter ~kind:(`Cty) name;
929929
let doc = Documentation.to_html ~get_package t.doc in
930930
let expansion = class_signature ~get_package csig in
931931
let expansion =

0 commit comments

Comments
 (0)