diff --git a/arrow-array/src/ffi.rs b/arrow-array/src/ffi.rs index 4dbe9411fe1d..f4b41310a419 100644 --- a/arrow-array/src/ffi.rs +++ b/arrow-array/src/ffi.rs @@ -118,8 +118,8 @@ type Result = std::result::Result; // TODO(alexandreyc): we sh /// Assumes that these pointers represent valid C Data Interfaces, both in memory /// representation and lifetime via the `release` mechanism. /// -/// This function copies the content of two FFI structs [ffi::FFI_ArrowArray] and -/// [ffi::FFI_ArrowSchema] in the array to the location pointed by the raw pointers. +/// This function copies the content of two FFI structs [arrow_data::ffi::FFI_ArrowArray] and +/// [arrow_schema::ffi::FFI_ArrowSchema] in the array to the location pointed by the raw pointers. /// Usually the raw pointers are provided by the array data consumer. #[deprecated(note = "Use FFI_ArrowArray::new and FFI_ArrowSchema::try_from")] pub unsafe fn export_array_into_raw( diff --git a/arrow-array/src/ffi_stream.rs b/arrow-array/src/ffi_stream.rs index 22b6597932e5..bd37ad5ffeb7 100644 --- a/arrow-array/src/ffi_stream.rs +++ b/arrow-array/src/ffi_stream.rs @@ -83,6 +83,7 @@ const ENOSYS: i32 = 78; /// This was created by bindgen #[repr(C)] #[derive(Debug)] +#[allow(missing_docs)] pub struct FFI_ArrowArrayStream { pub get_schema: Option< unsafe extern "C" fn(arg1: *mut FFI_ArrowArrayStream, out: *mut FFI_ArrowSchema) -> c_int,