From 1ec9d67514cb7fe28010fe258d5a0638f744a872 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Thu, 10 Oct 2024 11:31:55 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- crates/oxc_minifier/src/node_util/number_value.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/oxc_minifier/src/node_util/number_value.rs b/crates/oxc_minifier/src/node_util/number_value.rs index 35171931b0818..41daeb37af166 100644 --- a/crates/oxc_minifier/src/node_util/number_value.rs +++ b/crates/oxc_minifier/src/node_util/number_value.rs @@ -74,7 +74,7 @@ impl std::ops::Mul for NumberValue { Self::Number(num) if num < 0.0 => -self, Self::PositiveInfinity => self, Self::NegativeInfinity => -self, - _ => Self::NaN + _ => Self::NaN, }, } } @@ -90,7 +90,7 @@ impl std::ops::Div for NumberValue { Self::Number(other_num) => Self::Number(num / other_num), Self::PositiveInfinity | Self::NegativeInfinity if num < 0.0 => -other, Self::PositiveInfinity | Self::NegativeInfinity if num > 0.0 => other, - _ => Self::NaN + _ => Self::NaN, }, Self::NaN => Self::NaN, Self::PositiveInfinity | Self::NegativeInfinity => match other {