From 5f8e17b1c144e49d244e4e15b985ffa498c4edef Mon Sep 17 00:00:00 2001 From: "Jorge C. Leitao" Date: Fri, 4 Mar 2022 04:19:03 +0000 Subject: [PATCH] Fixed unsound --- src/ffi/generated.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ffi/generated.rs b/src/ffi/generated.rs index 0fc00e5300e..cd4953b7198 100644 --- a/src/ffi/generated.rs +++ b/src/ffi/generated.rs @@ -2,7 +2,7 @@ /// ABI-compatible struct for [`ArrowSchema`](https://arrow.apache.org/docs/format/CDataInterface.html#structure-definitions) #[repr(C)] -#[derive(Debug, Clone)] +#[derive(Debug)] pub struct ArrowSchema { pub(super) format: *const ::std::os::raw::c_char, pub(super) name: *const ::std::os::raw::c_char, @@ -17,7 +17,7 @@ pub struct ArrowSchema { /// ABI-compatible struct for [`ArrowArray`](https://arrow.apache.org/docs/format/CDataInterface.html#structure-definitions) #[repr(C)] -#[derive(Debug, Clone)] +#[derive(Debug)] pub struct ArrowArray { pub(super) length: i64, pub(super) null_count: i64, @@ -33,7 +33,7 @@ pub struct ArrowArray { /// ABI-compatible struct for [`ArrowArrayStream`](https://arrow.apache.org/docs/format/CStreamInterface.html). #[repr(C)] -#[derive(Debug, Clone)] +#[derive(Debug)] pub struct ArrowArrayStream { pub(super) get_schema: ::std::option::Option< unsafe extern "C" fn(