diff options
| author | Mara Bos <m-ou.se@m-ou.se> | 2021-03-27 13:31:17 +0100 |
|---|---|---|
| committer | Mara Bos <m-ou.se@m-ou.se> | 2021-03-27 13:33:52 +0100 |
| commit | d73015397dc43eb8067644ab2bbb1c2203c795d4 (patch) | |
| tree | 4372dc66d67a28bc9704b6a414bb3bc2d02eea03 /compiler/rustc_codegen_llvm/src | |
| parent | feaac19f1710ebcfecc783d51f52a9b0d8e998f5 (diff) | |
| download | rust-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
