We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The offending example is:
use std::thread::Thread; fn main() { for _ in 0..10 { Thread::spawn(|| { println!("Hello World!"); }); } }
With the new detaching thread semantics, this is incorrect since main can exit before all the detached threads have printed.