On 12/24/13 3:41 AM, Philippe Delrieu wrote:
Hello,I try to capture a closure in a task and I have the error: error: cannot capture variable of type `|u64, T|`, which does not fulfill `Send`, in a bounded closure Any hint to make the closure 'send-able'?
Try `'static |u64, T|` or `extern "Rust" fn(u64, T)`. Patrick _______________________________________________ Rust-dev mailing list Rust-dev@mozilla.org https://mail.mozilla.org/listinfo/rust-dev