rust/library
Matthias Krüger 93a82a44a1
Rollup merge of #108164 - joboet:discard_messages_mpmc_array, r=Amanieu
Drop all messages in bounded channel when destroying the last receiver

Fixes #107466 by splitting the `disconnect` function for receivers/transmitters and dropping all messages in `disconnect_receivers` like the unbounded channel does. Since all receivers must be dropped before the channel is, the messages will already be discarded at that point, so the `Drop` implementation for the channel can be removed.

``@rustbot`` label +T-libs +A-concurrency
2023-03-21 19:00:11 +01:00
..
alloc Auto merge of #106967 - saethlin:remove-vec-as-ptr-assume, r=thomcc 2023-03-21 08:44:17 +00:00
backtrace@07872f28cd
core Rollup merge of #106434 - clubby789:document-sum-result, r=the8472 2023-03-21 13:00:21 +01:00
panic_abort
panic_unwind
portable-simd Match unmatched backticks in library/ 2023-03-03 03:03:29 +01:00
proc_macro Auto merge of #105671 - lukas-code:depreciate-char, r=scottmcm 2023-02-12 11:09:06 +00:00
profiler_builtins
rtstartup
rustc-std-workspace-alloc
rustc-std-workspace-core
rustc-std-workspace-std
std Rollup merge of #108164 - joboet:discard_messages_mpmc_array, r=Amanieu 2023-03-21 19:00:11 +01:00
stdarch@a0c30f3e3c
test Implementing "<test_binary> --list --format json" #107307 #49359 2023-03-15 14:20:20 -04:00
unwind Match unmatched backticks in library/ 2023-03-03 03:03:29 +01:00