diff options
| author | Jack Huey <31162821+jackh726@users.noreply.github.com> | 2021-04-28 22:59:31 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-28 22:59:31 -0400 |
| commit | ccd04a52810c596180486da8a2c2e157e63e3d2f (patch) | |
| tree | 4697a60f0054650fc24e193744b555a3f96e7b0f /compiler/rustc_mir/src/transform/coverage/debug.rs | |
| parent | 096375451d888c1a78ae1ddcc9ec195f4ea9bd1b (diff) | |
| parent | 1ac632627b7fc172887d0b8395cb8c8997c72274 (diff) | |
| download | rust-ccd04a52810c596180486da8a2c2e157e63e3d2f.tar.gz rust-ccd04a52810c596180486da8a2c2e157e63e3d2f.zip | |
Rollup merge of #84663 - CDirkx:dropguard, r=Mark-Simulacrum
Remove `DropGuard` in `sys::windows::process` and use `StaticMutex` instead `StaticMutex` is a mutex that when locked provides a guard that unlocks the mutex again when dropped, thus provides the exact same functionality as `DropGuard`. `StaticMutex` is used in more places, and is thus preferred over an ad-hoc construct like `DropGuard`. ````@rustbot```` label: +T-libs-impl
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
