From b718e6ff53156a0aae486e570ce7c9cb8a3b822a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 31 Jul 2020 16:59:22 +0200 Subject: upgrade: deno_lint, dprint, swc (#6928) This commit upgrades: deno_lint 0.1.20 dprint-plugin-typescript 0.25.0 swc_ecmascript 0.1.0 SWC is no longer reexported from dprint nor deno_lint. --- cli/doc/module.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'cli/doc/module.rs') 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(); -- cgit v1.2.3