summaryrefslogtreecommitdiff
path: root/cli/doc/module.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/doc/module.rs')
-rw-r--r--cli/doc/module.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/cli/doc/module.rs b/cli/doc/module.rs
index 79b1b92be..74d5361eb 100644
--- a/cli/doc/module.rs
+++ b/cli/doc/module.rs
@@ -1,6 +1,5 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-use crate::swc_common::Spanned;
-use crate::swc_ecma_ast;
+use swc_common::Spanned;
use super::parser::DocParser;
use super::DocNode;
@@ -8,10 +7,10 @@ use super::DocNodeKind;
pub fn get_doc_node_for_export_decl(
doc_parser: &DocParser,
- export_decl: &swc_ecma_ast::ExportDecl,
+ export_decl: &swc_ecmascript::ast::ExportDecl,
) -> DocNode {
let export_span = export_decl.span();
- use crate::swc_ecma_ast::Decl;
+ use swc_ecmascript::ast::Decl;
let js_doc = doc_parser.js_doc_for_span(export_span);
let location = doc_parser.ast_parser.get_span_location(export_span).into();