Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Fixed clippy (coming from 1.58) #763

Merged
merged 1 commit into from
Jan 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions src/ffi/ffi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,13 @@ pub struct Ffi_ArrowArray {
private_data: *mut ::std::os::raw::c_void,
}

// Sound because the arrow specification does not allow multiple implementations
// to change this struct
// This is intrinsically impossible to prove because the implementations agree
// on this as part of the Arrow specification
unsafe impl Send for Ffi_ArrowArray {}
unsafe impl Sync for Ffi_ArrowArray {}

impl Drop for Ffi_ArrowArray {
fn drop(&mut self) {
match self.release {
Expand Down