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

Commit

Permalink
Fixed clippy (#763)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao committed Jan 13, 2022
1 parent 276d670 commit a886e35
Showing 1 changed file with 7 additions and 0 deletions.
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

0 comments on commit a886e35

Please sign in to comment.