But how can you let the compiler know that you have protected the array so only one thread will take processing-ownership during the life span of the function call?
Btw, Rust apparently uses ARC for immutable data only.
But how can you let the compiler know that you have protected the array so only one thread will take processing-ownership during the life span of the function call?
Btw, Rust apparently uses ARC for immutable data only.