alamb commented on issue #558:
URL: https://github.com/apache/arrow-rs/issues/558#issuecomment-880670906


   Or maybe the signature could be something like 
   
   ```rust
   fn add(left: A, right: A) -> ArrayRef 
   where
     A: AsRef<dyn Array>
   ```
   
   So that we could take either an `&ArrayRef` or `&dyn Array` directly


-- 
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: github-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to