Alright, I'm having a heck of a time getting Rust to be happy here...
Let's purport that we have a
Vec which is kept alive by a
Arc. I'd like for N threads to operate on
Vec::len() / N non-aliasing sub-slices.
I know that
Vec has a
chunks_exact_mut() but I'm having a hard time working with the borrow checker here.
Any advice on how to get this to compile?