]> git.lizzy.rs Git - rust.git/commit
Auto merge of #22573 - nwin:impl-debug-rwlock-weak, r=Manishearth
authorbors <bors@rust-lang.org>
Fri, 27 Feb 2015 10:35:51 +0000 (10:35 +0000)
committerbors <bors@rust-lang.org>
Fri, 27 Feb 2015 10:35:51 +0000 (10:35 +0000)
commitbd0d8e47e53f25bbd50418a0f117973c366c1b08
treee7d24e6d09c3d9c6c52500cd91290e0674f6714e
parentbd27985457d4afc7c0a6218e8e1c30fdf359e48c
parent36ba96ea3cfef575ddc5eea7754a1b70b50e2080
Auto merge of #22573 - nwin:impl-debug-rwlock-weak, r=Manishearth

Implements `Debug`  for `RwLock` and `arc::Weak` in the same way it is implemented for `rc::Weak` (basically copy & paste).

The lack of this implementation prevents the automatic implementation of `Debug` for structs containing members of these types.
src/liballoc/arc.rs
src/libstd/sync/mutex.rs
src/libstd/sync/rwlock.rs