Skip to content

Commit 4d88252

Browse files
committed
refactor(parser): remove unnecessary unbox (#12302)
`unbox` here is unnecessary. There's no need to pull this node onto the stack.
1 parent 1058e8a commit 4d88252

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/oxc_parser/src/js/arrow.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ impl<'a> ParserImpl<'a> {
221221
let params = {
222222
let ident = match ident {
223223
Expression::Identifier(ident) => {
224-
let ident = ident.unbox();
225224
self.ast.alloc_binding_identifier(ident.span, ident.name)
226225
}
227226
_ => return self.unexpected(),

0 commit comments

Comments
 (0)