Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Nov 21, 2024
1 parent af876bb commit e785020
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/oxc_transformer/src/es2022/class_properties.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2167,7 +2167,7 @@ impl<'a, 'c> ConstructorInitsInserter<'a, 'c> {
stmts: &mut ArenaVec<'a, Statement<'a>>,
inits: Vec<Expression<'a>>,
) {
let ctx = &mut self.ctx;
let ctx = &mut *self.ctx;

let super_func_scope = ctx.scopes_mut().add_scope(
Some(self.constructor_scope_id),
Expand Down Expand Up @@ -2268,6 +2268,6 @@ impl<'a, 'c> ConstructorInitsInserter<'a, 'c> {
SymbolFlags::FunctionScopedVariable,
)
});
call_expr.callee = super_binding.create_spanned_read_expression(span, &mut self.ctx);
call_expr.callee = super_binding.create_spanned_read_expression(span, self.ctx);
}
}

0 comments on commit e785020

Please sign in to comment.