mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-30 11:45:30 +00:00
rewrote documentation for thread::yield_now() The old documentation suggested the use of yield_now for repeated polling instead of discouraging it; it also made the false claim that channels are implemented using yield_now. (They are not, except for a corner case).