fixed docs type issue

This commit is contained in:
faldor20 2024-03-11 15:16:00 +10:00
parent 3d80b82973
commit 772441dbcb
No known key found for this signature in database
GPG key ID: F2216079B890CD57

View file

@ -284,6 +284,15 @@ fn render_module_documentation(
buf.push_str("</section>");
}
}
DocEntry::ModuleDoc(docs) => {
markdown_to_html(
&mut buf,
all_exposed_symbols,
&module.scope,
docs,
root_module,
);
}
DocEntry::DetachedDoc(docs) => {
markdown_to_html(
&mut buf,