Tags→#threads
Borrowing Data in Scoped Rust Threads
Use std::thread::scope to share borrowed inputs with short-lived threads and safely split mutable data between workers.
Use std::thread::scope to share borrowed inputs with short-lived threads and safely split mutable data between workers.