alamb opened a new pull request, #3288:
URL: https://github.com/apache/arrow-rs/pull/3288

   # Which issue does this PR close?
   
   N/A
   
   # Rationale for this change
   
   Sometimes (e.g. https://github.com/apache/arrow-datafusion/pull/4534) a 
caller already has an owned `String` but today Field requires `&str` which 
forces another clone
   
   
   
   
   
   
   # What changes are included in this PR?
   
   
   Change `Field::new()` to take `impl Into<String>` so that anything that 
implements `impl Into<String>` , such as `String`, can be passed
   
   # Are there any user-facing changes?
   
   The API is changed but is backwards compatible


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