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


##########
object_store/src/util.rs:
##########
@@ -84,8 +84,8 @@ pub async fn coalesce_ranges<F, Fut>(
     coalesce: usize,
 ) -> Result<Vec<Bytes>>
 where
-    F: FnMut(std::ops::Range<usize>) -> Fut,
-    Fut: std::future::Future<Output = Result<Bytes>>,
+    F: Send + FnMut(std::ops::Range<usize>) -> Fut,
+    Fut: std::future::Future<Output = Result<Bytes>> + Send,

Review Comment:
   This is required to satisfy the 
https://rust-lang.github.io/rust-clippy/master/index.html#future_not_send lint



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