diff --git a/src/html/jsdoc.rs b/src/html/jsdoc.rs index 71b9d2eb..8f30f068 100644 --- a/src/html/jsdoc.rs +++ b/src/html/jsdoc.rs @@ -392,7 +392,6 @@ impl ModuleDocCtx { mod test { use crate::html::href_path_resolve; use crate::html::jsdoc::parse_links; - use crate::html::DocNodeWithContext; use crate::html::GenerateCtx; use crate::html::GenerateOptions; use crate::html::HrefResolver; diff --git a/tests/html_test.rs b/tests/html_test.rs index 51814534..ac9d7edc 100644 --- a/tests/html_test.rs +++ b/tests/html_test.rs @@ -88,7 +88,6 @@ impl UsageComposer for EmptyResolver { fn compose( &self, - doc_nodes: &[DocNodeWithContext], current_resolve: UrlResolveKind, usage_to_md: UsageToMd, ) -> IndexMap { @@ -100,7 +99,7 @@ impl UsageComposer for EmptyResolver { name: "".to_string(), icon: None, }, - usage_to_md(doc_nodes, current_file.path.as_str(), None), + usage_to_md(current_file.path.as_str(), None), )]) }) .unwrap_or_default()