Scoped thread | Learn Rust part 59
Smart Contract Programmer · 4:08
Rust's scoped threads (std::thread::scope) let a spawned thread borrow data from the enclosing function instead of taking ownership with move. Every scoped thread is joined automatically when the scope ends, so the or...