From 8c24c940c526d63dffa5f9d3d17cc955825b670d Mon Sep 17 00:00:00 2001 From: Kould <2435992353@qq.com> Date: Sat, 17 Feb 2024 23:57:20 +0800 Subject: [PATCH] code fmt --- src/expression/value_compute.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/expression/value_compute.rs b/src/expression/value_compute.rs index 13e1b898..6037aed1 100644 --- a/src/expression/value_compute.rs +++ b/src/expression/value_compute.rs @@ -472,7 +472,7 @@ impl DataValue { let value = match (left_value, right_value) { (Some(v1), Some(v2)) => Some(v1 && v2), (Some(false), _) | (_, Some(false)) => Some(false), - _ => None + _ => None, }; DataValue::Boolean(value) @@ -481,7 +481,7 @@ impl DataValue { let value = match (left_value, right_value) { (Some(v1), Some(v2)) => Some(v1 || v2), (Some(true), _) | (_, Some(true)) => Some(true), - _ => None + _ => None, }; DataValue::Boolean(value) @@ -1478,7 +1478,7 @@ mod test { &DataValue::Boolean(Some(true)), &BinaryOperator::Or )?, - DataValue::Boolean(None) + DataValue::Boolean(Some(true)) ); Ok(())