diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-04-03 18:35:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-03 18:35:03 +0200 |
commit | efb022a50c8fd4ab598c0bdc6ff0c1978779260a (patch) | |
tree | aa7cd1bede57bad7cfa97aeec3abb7d81fb901ca /cli/doc/module.rs | |
parent | 13db64fbc6a8da68e5f6c1da59e058a1a3146054 (diff) |
upgrade dprint to 0.9.10 (#4601)
Diffstat (limited to 'cli/doc/module.rs')
-rw-r--r-- | cli/doc/module.rs | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/cli/doc/module.rs b/cli/doc/module.rs index e6c97771a..e1d629ccf 100644 --- a/cli/doc/module.rs +++ b/cli/doc/module.rs @@ -1,7 +1,6 @@ // Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. -use swc_common; -use swc_common::Spanned; -use swc_ecma_ast; +use crate::swc_common::Spanned; +use crate::swc_ecma_ast; use super::parser::DocParser; use super::DocNode; @@ -12,7 +11,7 @@ pub fn get_doc_node_for_export_decl( export_decl: &swc_ecma_ast::ExportDecl, ) -> DocNode { let export_span = export_decl.span(); - use swc_ecma_ast::Decl; + use crate::swc_ecma_ast::Decl; let js_doc = doc_parser.js_doc_for_span(export_span); let location = doc_parser @@ -165,7 +164,7 @@ pub fn get_doc_nodes_for_named_export( .specifiers .iter() .map(|export_specifier| { - use swc_ecma_ast::ExportSpecifier::*; + use crate::swc_ecma_ast::ExportSpecifier::*; match export_specifier { Named(named_export_specifier) => { |