about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorTaras Tsugrii <taras.tsugriy@gmail.com>2023-08-01 21:53:21 -0700
committerTaras Tsugrii <taras.tsugriy@gmail.com>2023-08-01 22:10:40 -0700
commita090e97f686a927f7f0e1efead7bfedf86194685 (patch)
treefd9f927b820ffc301a7f6e5b73524f4a53ae4a3c /compiler/rustc_interface/src/errors.rs
parentaa8462b6df138d18a82e3a54d47f3b00bf01c7f4 (diff)
downloadrust-a090e97f686a927f7f0e1efead7bfedf86194685.tar.gz
rust-a090e97f686a927f7f0e1efead7bfedf86194685.zip
[library/std] Replace condv while loop with `cvar.wait_while`.
`wait_while` takes care of spurious wake-ups in centralized place,
reducing chances for mistakes and potential future optimizations
(who knows, maybe in future there will be no spurious wake-ups? :)
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions