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;