tustvold commented on issue #2035:
URL: https://github.com/apache/arrow-rs/issues/2035#issuecomment-1186187204

   I would support changing to always returning a reference and would happily 
approve a PR that did so. Historically a number of methods have returned owned 
references as a quirk of being based on equivalent methods in C++, where 
returning references is potentially error prone. In Rust I agree this is a code 
smell we should fix.


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