Skip to content

Commit 77cb29c

Browse files
committed
remove
1 parent 3f55698 commit 77cb29c

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

crates/swc_ecma_transformer/src/common/statement_injector.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,8 @@
1515
//! self.ctx.statement_injector.insert_many_after(address, statements);
1616
//! ```
1717
18-
use std::cell::RefCell;
19-
20-
use rustc_hash::FxHashMap;
2118
use swc_ecma_ast::*;
2219
use swc_ecma_hooks::VisitMutHook;
23-
use swc_ecma_visit::AstKindPath;
2420

2521
use crate::TraverseCtx;
2622

@@ -41,8 +37,6 @@ struct AdjacentStmt {
4137

4238
/// Store for Stmts to be added to the Stmts.
4339
#[derive(Default)]
44-
pub struct StmtInjectorStore {
45-
insertions: RefCell<FxHashMap<AstKindPath, Vec<AdjacentStmt>>>,
46-
}
40+
pub struct StmtInjectorStore {}
4741

4842
impl VisitMutHook<TraverseCtx> for StmtInjector {}

0 commit comments

Comments
 (0)