itsjunetime commented on code in PR #6573:
URL: https://github.com/apache/arrow-rs/pull/6573#discussion_r1803750348


##########
arrow-schema/src/ffi.rs:
##########
@@ -336,7 +336,7 @@ impl FFI_ArrowSchema {
             Ok(HashMap::new())
         } else {
             let mut pos = 0;
-            let buffer: *const u8 = self.metadata as *const u8;
+            let buffer: *const u8 = self.metadata;

Review Comment:
   Just fixed - clippy was complaining about casting to the same type, but I 
had foolishly forgotten what I'd just learned about `c_char = (i8|u8)` so I 
removed the cast. It's now a cast with an `#[allow()]`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to