boustrophedon commented on issue #5714:
URL: https://github.com/apache/arrow-rs/issues/5714#issuecomment-2094371540

   The above example is from 
[`RecordBatch::try_new`](https://docs.rs/arrow-array/51.0.0/arrow_array/struct.RecordBatch.html#method.try_new)
 where it takes a `Vec<ArrayRef>` parameter.
   
   More than avoiding an import it's about readability IMO. When reading code I 
think seeing the Arc::new is a distraction - hiding it at the end with a 
`into()` is pretty common.


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