From 3eba94401337290488db19b85922294980419c22 Mon Sep 17 00:00:00 2001 From: crowlkats Date: Wed, 25 Oct 2023 08:22:45 +0200 Subject: [PATCH] fix --- src/html/mod.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/html/mod.rs b/src/html/mod.rs index eed9392d..e0101ab6 100644 --- a/src/html/mod.rs +++ b/src/html/mod.rs @@ -130,12 +130,10 @@ fn doc_block(doc_nodes: &[crate::DocNode], name: &str) -> String { DocNodeKind::Function => functions.push(doc_node), DocNodeKind::Variable => {} DocNodeKind::Class => {} - DocNodeKind::Enum => {} + DocNodeKind::Enum => content.push_str(&r#enum::render_enum(doc_node)), DocNodeKind::Interface => {} DocNodeKind::TypeAlias => {} - DocNodeKind::Namespace => { - content.push_str(&r#enum::render_enum(doc_node)) - } + DocNodeKind::Namespace => {} DocNodeKind::Import => {} }; }