Skip to content

Commit 4baf193

Browse files
[autofix.ci] apply automated fixes
1 parent 9e809d7 commit 4baf193

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

crates/oxc_linter/src/rules/unicorn/prefer_at.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,8 @@ fn get_negative_index_value(expr: &Expression) -> String {
510510

511511
fn get_positive_index(expr: &Expression) -> Option<i64> {
512512
match expr.get_inner_expression() {
513-
Expression::NumericLiteral(num) if num.value >= 0.0 => {
513+
Expression::NumericLiteral(num) if num.value >= 0.0 =>
514+
{
514515
#[expect(clippy::cast_possible_truncation)]
515516
Some(num.value as i64)
516517
}

0 commit comments

Comments
 (0)