mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 09:53:04 +03:00
49f17ff74e
mpmc doctest: make sure main thread waits for child threads Currently, chances are half the test is not executed because the main thread exits while the other threads are still working. Cc `@obeis` `@Amanieu`