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 2023/07/13 23:51:31 UTC
[arrow-rs] branch master updated: fix: clippy problem (#4521)
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 43712ac84 fix: clippy problem (#4521)
43712ac84 is described below
commit 43712ac843850d59af8bc996462af8e38f8991a8
Author: Alex Huang <hu...@gmail.com>
AuthorDate: Fri Jul 14 01:51:25 2023 +0200
fix: clippy problem (#4521)
---
arrow/src/ffi_stream.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arrow/src/ffi_stream.rs b/arrow/src/ffi_stream.rs
index 83d4eead3..7d6689a89 100644
--- a/arrow/src/ffi_stream.rs
+++ b/arrow/src/ffi_stream.rs
@@ -194,7 +194,7 @@ impl ExportedArrayStream {
}
pub fn get_schema(&mut self, out: *mut FFI_ArrowSchema) -> i32 {
- let mut private_data = self.get_private_data();
+ let private_data = self.get_private_data();
let reader = &private_data.batch_reader;
let schema = FFI_ArrowSchema::try_from(reader.schema().as_ref());
@@ -213,7 +213,7 @@ impl ExportedArrayStream {
}
pub fn get_next(&mut self, out: *mut FFI_ArrowArray) -> i32 {
- let mut private_data = self.get_private_data();
+ let private_data = self.get_private_data();
let reader = &mut private_data.batch_reader;
match reader.next() {