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


##########
arrow-buffer/src/buffer/ops.rs:
##########
@@ -66,10 +66,10 @@ pub fn bitwise_bin_op_helper<F>(
     right: &Buffer,
     right_offset_in_bits: usize,
     len_in_bits: usize,
-    op: F,
+    mut op: F,
 ) -> Buffer
 where
-    F: Fn(u64, u64) -> u64,
+    F: FnMut(u64, u64) -> u64,

Review Comment:
   This is just a drive by fix to make this accept mutable closures - this is a 
backwards compatible change



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