about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2020-10-07 14:08:33 +0200
committerMara Bos <m-ou.se@m-ou.se>2020-10-14 09:52:03 +0200
commit44a2af32ccc4c71c5e8bc9cb79c9042c6e608ce8 (patch)
tree2841e676c3753ef5a288102bdabc99d5e72a6f57 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent58756573fc5a2198f98e9b4889c494bb60f38e3d (diff)
downloadrust-44a2af32ccc4c71c5e8bc9cb79c9042c6e608ce8.tar.gz
rust-44a2af32ccc4c71c5e8bc9cb79c9042c6e608ce8.zip
Remove lifetime from StaticMutex and assume '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().
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions