diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-10-16 02:10:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-16 02:10:15 +0200 |
| commit | b183ef2068cf18ff43e119cfbbdafb14268dddb1 (patch) | |
| tree | 510f93259fbc9e909da03da847479e0de2a31c3f /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 085399f48155cff204aa913343651208131c7398 (diff) | |
| parent | 44a2af32ccc4c71c5e8bc9cb79c9042c6e608ce8 (diff) | |
| download | rust-b183ef2068cf18ff43e119cfbbdafb14268dddb1.tar.gz rust-b183ef2068cf18ff43e119cfbbdafb14268dddb1.zip | |
Rollup merge of #77648 - fusion-engineering-forks:static-mutex, r=dtolnay
Static mutex is static StaticMutex is only ever used with as a static (as the name already suggests). So it doesn't have to be generic over a lifetime, but can simply assume 'static. This 'static lifetime guarantees the object is never moved, so this is no longer a manually checked requirement for unsafe calls to lock(). @rustbot modify labels: +T-libs +A-concurrency +C-cleanup
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
