From 02fedf5123e10b9723b17348aa56afabc69b66dd Mon Sep 17 00:00:00 2001 From: overlookmotel <557937+overlookmotel@users.noreply.github.com> Date: Mon, 30 Sep 2024 14:08:52 +0000 Subject: [PATCH] refactor(transformer): shorten import (#6180) Tiny change. Import with `use crate::TransformCtx` not `use crate::context::TransformCtx`. --- crates/oxc_transformer/src/common/var_declarations.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxc_transformer/src/common/var_declarations.rs b/crates/oxc_transformer/src/common/var_declarations.rs index 161b4865d..8184435d1 100644 --- a/crates/oxc_transformer/src/common/var_declarations.rs +++ b/crates/oxc_transformer/src/common/var_declarations.rs @@ -20,7 +20,7 @@ use oxc_span::SPAN; use oxc_syntax::symbol::SymbolId; use oxc_traverse::{Traverse, TraverseCtx}; -use crate::{context::TransformCtx, helpers::stack::SparseStack}; +use crate::{helpers::stack::SparseStack, TransformCtx}; /// Transform that maintains the stack of `Vec`s, and adds a `var` statement /// to top of a statement block if another transform has requested that.