diff options
Diffstat (limited to 'cli/doc/module.rs')
-rw-r--r-- | cli/doc/module.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cli/doc/module.rs b/cli/doc/module.rs index ba62902dc..d2284b36c 100644 --- a/cli/doc/module.rs +++ b/cli/doc/module.rs @@ -38,8 +38,7 @@ pub fn get_doc_node_for_export_decl( } } Decl::Fn(fn_decl) => { - let (name, function_def) = - super::function::get_doc_for_fn_decl(doc_parser, fn_decl); + let (name, function_def) = super::function::get_doc_for_fn_decl(fn_decl); DocNode { kind: DocNodeKind::Function, name, @@ -55,8 +54,7 @@ pub fn get_doc_node_for_export_decl( } } Decl::Var(var_decl) => { - let (name, var_def) = - super::variable::get_doc_for_var_decl(doc_parser, var_decl); + let (name, var_def) = super::variable::get_doc_for_var_decl(var_decl); DocNode { kind: DocNodeKind::Variable, name, |