We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7d998b commit f5ec26bCopy full SHA for f5ec26b
crates/oxc_ast/src/ast_impl/js.rs
@@ -163,8 +163,8 @@ impl<'a> Expression<'a> {
163
/// Remove nested parentheses from this expression.
164
pub fn without_parentheses(&self) -> &Self {
165
let mut expr = self;
166
- while let Expression::ParenthesizedExpression(paran_expr) = expr {
167
- expr = ¶n_expr.expression;
+ while let Expression::ParenthesizedExpression(paren_expr) = expr {
+ expr = &paren_expr.expression;
168
}
169
expr
170
0 commit comments