diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-05-23 13:34:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-23 13:34:19 +0200 |
| commit | dfa3110ed4c40e0744a71cb3964c4161f3457ae2 (patch) | |
| tree | 7103e17daf9a482d63c3f19a58c024a4d6f184cd /compiler/rustc_resolve/src | |
| parent | 036607ebbae2dd8b84c9dfee3391f52ff01f3ea6 (diff) | |
| parent | dcef449e2c7209d2e591f2c1c4791eb094321929 (diff) | |
| download | rust-dfa3110ed4c40e0744a71cb3964c4161f3457ae2.tar.gz rust-dfa3110ed4c40e0744a71cb3964c4161f3457ae2.zip | |
Rollup merge of #141109 - oconnor663:pipe_example, r=Mark-Simulacrum
discuss deadlocks in the std::io::pipe() example I think it's important to discuss deadlocks in examples of how to use pipes. The current example does include an explicit `drop()`, but it also implicitly relies on the fact that the `Command` object is temporary, so that it drops its copy of `pong_tx`. This sort of thing tends to trip people up when they use pipes for the first time. I might've gone overboard with the comments in this version, but I'm curious what folks think.
Diffstat (limited to 'compiler/rustc_resolve/src')
0 files changed, 0 insertions, 0 deletions
