From d1b7181452137018cb8c74c1b3a5bff2a141ba58 Mon Sep 17 00:00:00 2001 From: overlookmotel <557937+overlookmotel@users.noreply.github.com> Date: Wed, 18 Dec 2024 21:59:47 +0000 Subject: [PATCH] refactor(transformer/class-properties): rename var (#8006) Give var more descriptive name. --- crates/oxc_transformer/src/es2022/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/oxc_transformer/src/es2022/mod.rs b/crates/oxc_transformer/src/es2022/mod.rs index 1008eaa7e56fc..43d1ce5061032 100644 --- a/crates/oxc_transformer/src/es2022/mod.rs +++ b/crates/oxc_transformer/src/es2022/mod.rs @@ -63,11 +63,11 @@ impl<'a, 'ctx> Traverse<'a> for ES2022<'a, 'ctx> { fn enter_assignment_target( &mut self, - node: &mut AssignmentTarget<'a>, + target: &mut AssignmentTarget<'a>, ctx: &mut TraverseCtx<'a>, ) { if let Some(class_properties) = &mut self.class_properties { - class_properties.enter_assignment_target(node, ctx); + class_properties.enter_assignment_target(target, ctx); } } }