diff options
| author | Ivan Tham <pickfire@riseup.net> | 2020-12-22 02:16:01 +0800 |
|---|---|---|
| committer | Ivan Tham <pickfire@riseup.net> | 2021-06-12 14:56:46 +0800 |
| commit | 0f3c7d18fb1213ad285173210820924b76b534a1 (patch) | |
| tree | e424e00a04a8576bdd0ea37efd9a0e0595106917 /src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | 11c94a197726b6a981828cb1837d7c3eed1b841d (diff) | |
| download | rust-0f3c7d18fb1213ad285173210820924b76b534a1.tar.gz rust-0f3c7d18fb1213ad285173210820924b76b534a1.zip | |
Explain non-dropped sender recv in docs
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>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
