mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
![]() Original senders that are still hanging around could cause Receiver::recv to not block since this is a potential footgun for beginners, clarify more on this in the docs for readers to be aware about it. Fix minor tidbits in sender recv doc Co-authored-by: Dylan DPC <dylan.dpc@gmail.com> Add example for unbounded receive loops in doc Show the drop(tx) pattern, based on tokio docs https://tokio-rs.github.io/tokio/doc/tokio/sync/index.html Fix example code for drop sender recv Fix wording in sender docs Co-authored-by: Josh Triplett <josh@joshtriplett.org> |
||
---|---|---|
.. | ||
barrier | ||
condvar | ||
mpsc | ||
mutex | ||
once | ||
rwlock | ||
barrier.rs | ||
condvar.rs | ||
mod.rs | ||
mutex.rs | ||
once.rs | ||
rwlock.rs |