Skip to content

Commit

Permalink
chore: cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
krishvishal committed Jan 29, 2025
1 parent a4a1ff2 commit 39b4122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/translate/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1773,7 +1773,7 @@ pub fn translate_expr(
} else {
1
};

// Special case: if we're negating "9223372036854775808", this is exactly MIN_INT64
// If we don't do this -1 * 9223372036854775808 will overflow and parse will fail and trigger conversion to Real.
if multiplier == -1 && numeric_value == "9223372036854775808" {
Expand Down

0 comments on commit 39b4122

Please sign in to comment.