Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Jan 31, 2025
1 parent 5ef929f commit 45a46c4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/oxc_minifier/src/peephole/replace_known_methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -791,9 +791,9 @@ impl<'a> PeepholeOptimizations {
}
Some(ctx.ast.expression_array(
span,
ctx.ast.vec_from_iter(arguments.drain(..).map(|param| {
ArrayExpressionElement::from(param)
})),
ctx.ast.vec_from_iter(
arguments.drain(..).map(|param| ArrayExpressionElement::from(param)),
),
None,
))
}
Expand Down

0 comments on commit 45a46c4

Please sign in to comment.