tustvold commented on code in PR #3384:
URL: https://github.com/apache/arrow-rs/pull/3384#discussion_r1054846568


##########
arrow-arith/src/arithmetic.rs:
##########
@@ -332,11 +316,7 @@ where
 
             valid_chunks
                 .iter()
-                .zip(
-                    result_chunks
-                        .borrow_mut()
-                        
.zip(left_chunks.borrow_mut().zip(right_chunks.borrow_mut())),
-                )
+                .zip((&mut result_chunks).zip((&mut left_chunks).zip(&mut 
right_chunks)))

Review Comment:
   It avoids needing BorrowMut in scope :sweat_smile:



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