From d5ae7bb13fdb5e855c678ced9b66d26674e08136 Mon Sep 17 00:00:00 2001 From: Hocdoc Date: Thu, 10 Nov 2022 17:00:33 +0100 Subject: Remove unneeded `extern crate`s Closes GH-28. Co-authored-by: Bernhard Berger --- tests/test_utils/swc.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tests/test_utils/swc.rs') diff --git a/tests/test_utils/swc.rs b/tests/test_utils/swc.rs index c958f6f..f30561d 100644 --- a/tests/test_utils/swc.rs +++ b/tests/test_utils/swc.rs @@ -1,8 +1,5 @@ //! Bridge between `markdown-rs` and SWC. -extern crate markdown; -extern crate swc_common; -extern crate swc_ecma_ast; -extern crate swc_ecma_parser; + use crate::test_utils::swc_utils::{bytepos_to_point, prefix_error_with_point, RewriteContext}; use markdown::{mdast::Stop, unist::Point, Location, MdxExpressionKind, MdxSignal}; use swc_common::{ -- cgit