From 5e3facf5ec6c15f8fec14538b96b90b254e7ab90 Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Thu, 21 Jul 2022 18:00:45 -0400 Subject: [PATCH] fix clippy (#2124) --- integration-testing/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integration-testing/src/lib.rs b/integration-testing/src/lib.rs index 95342703593..781416e6752 100644 --- a/integration-testing/src/lib.rs +++ b/integration-testing/src/lib.rs @@ -640,10 +640,10 @@ fn array_from_json( let decimal = Decimal256::try_new_from_bytes(*precision, *scale, &bytes) .unwrap(); - b.append_value(&decimal) + b.append_value(&decimal)?; } - _ => Ok(b.append_null()), - }?; + _ => b.append_null(), + } } Ok(Arc::new(b.finish())) }