mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-28 03:24:11 +00:00
`wait_while` takes care of spurious wake-ups in centralized place, reducing chances for mistakes and potential future optimizations (who knows, maybe in future there will be no spurious wake-ups? :)