mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-02 09:47:57 +00:00
Oneshot `is_ready` Tracking Issue: https://github.com/rust-lang/rust/issues/143674 Adds a `is_ready` method to the `oneshot::Receiver`. ~~This also changes the internal mutex for the `mpmc::zero` flavor implementation to use the `nonpoison::Mutex` since every lock call simply `unwrap`s. Please let me know if that is out of the scope of this change.~~ ~~There's also one small unfortunate implementation detail, see comments below.~~