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:06:17 +0200
committerMara Bos <m-ou.se@m-ou.se>2020-10-14 09:50:47 +0200
commit58756573fc5a2198f98e9b4889c494bb60f38e3d (patch)
treeb14ba7a935b5e65fe82832cea63febdf6e287c87 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent31e4087b9098c6174a22b294bea960d54013fe22 (diff)
downloadrust-58756573fc5a2198f98e9b4889c494bb60f38e3d.tar.gz
rust-58756573fc5a2198f98e9b4889c494bb60f38e3d.zip
Fix comment about non-reentrant StaticMutex::lock().
The comment said it's UB to call lock() while it is locked. That'd be
quite a useless Mutex. :) It was supposed to say 'locked by the same
thread', not just 'locked'.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions