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

   # Which issue does this PR close?
   
   Closes #.
   
   # Rationale for this change
    
   The `std::io::Read/Write/Seek` traits have blanket implementations for `&mut 
T` - see [here](https://doc.rust-lang.org/std/io/trait.Read.html#impl-Read-13) 
and so there is no reason to force callers to pass in an `&mut`. In fact it 
makes for worse ergonomics as it prevents passing in an owned type
   
   # What changes are included in this PR?
   
   Removes unnecessary `&mut`
   
   # Are there any user-facing changes?
   
   No
   


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