about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMara Bos <m-ou.se@m-ou.se>2021-03-27 13:31:17 +0100
committerMara Bos <m-ou.se@m-ou.se>2021-03-27 13:33:52 +0100
commitd73015397dc43eb8067644ab2bbb1c2203c795d4 (patch)
tree4372dc66d67a28bc9704b6a414bb3bc2d02eea03 /compiler/rustc_codegen_llvm/src
parentfeaac19f1710ebcfecc783d51f52a9b0d8e998f5 (diff)
downloadrust-d73015397dc43eb8067644ab2bbb1c2203c795d4.tar.gz
rust-d73015397dc43eb8067644ab2bbb1c2203c795d4.zip
Fix Debug implementation for RwLock{Read,Write}Guard.
This would attempt to print the Debug representation of the lock that
the guard has locked, which will try to lock again, fail, and just print
"<locked>" unhelpfully.

After this change, this just prints the contents of the mutex, like the
other smart pointers (and MutexGuard) do.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions