emilk commented on issue #6360:
URL: https://github.com/apache/arrow-rs/issues/6360#issuecomment-2497773899

   Actually, no. We can make `shrink_to_fit` consuming everywhere except on 
`trait Array`, but `fn shrink_to_fit(self) -> Self` is not [object 
safe](https://doc.rust-lang.org/reference/items/traits.html#object-safety), so 
I'll stick with `fn shrink_to_fit(&self) -> ArrayRef` instead


-- 
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