I'm a bit confused regarding the ownership system and how it works with the parallel iterators in rayon. For example:
let x = 10;
(0..100).into_par_iter().for_each(|y| {
let z = x + y;
println!("{}", z);
println!("{}", x);
});
How is the ownership over x defined across multiple threads here??