From 402831662686d40cfbe19fd770e1f8e67c8ddb7c Mon Sep 17 00:00:00 2001 From: alexandreyc Date: Mon, 22 Apr 2024 12:43:35 +0200 Subject: [PATCH] Remove TODOs --- arrow-array/src/ffi.rs | 2 +- arrow-array/src/ffi_stream.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arrow-array/src/ffi.rs b/arrow-array/src/ffi.rs index f4b41310a419..7b988bb07478 100644 --- a/arrow-array/src/ffi.rs +++ b/arrow-array/src/ffi.rs @@ -111,7 +111,7 @@ use arrow_schema::{ArrowError, DataType, UnionMode}; use crate::array::ArrayRef; -type Result = std::result::Result; // TODO(alexandreyc): we should probably move Result to arrow_schema +type Result = std::result::Result; /// Exports an array to raw pointers of the C Data Interface provided by the consumer. /// # Safety diff --git a/arrow-array/src/ffi_stream.rs b/arrow-array/src/ffi_stream.rs index bd37ad5ffeb7..6f3405ead7b0 100644 --- a/arrow-array/src/ffi_stream.rs +++ b/arrow-array/src/ffi_stream.rs @@ -71,7 +71,7 @@ use crate::array::StructArray; use crate::ffi::from_ffi_and_data_type; use crate::record_batch::{RecordBatch, RecordBatchReader}; -type Result = std::result::Result; // TODO(alexandreyc): we should probably move Result to arrow_schema +type Result = std::result::Result; const ENOMEM: i32 = 12; const EIO: i32 = 5;