You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by tu...@apache.org on 2022/07/21 22:00:50 UTC
[arrow-rs] branch master updated: fix clippy (#2124)
This is an automated email from the ASF dual-hosted git repository.
tustvold pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/master by this push:
new 5e3facf5e fix clippy (#2124)
5e3facf5e is described below
commit 5e3facf5ec6c15f8fec14538b96b90b254e7ab90
Author: Andrew Lamb <an...@nerdnetworks.org>
AuthorDate: Thu Jul 21 18:00:45 2022 -0400
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 953427035..781416e67 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()))
}