mirror of
https://github.com/rust-lang/rust.git
synced 2024-10-30 14:01:51 +00:00
9ddb45e81a
Add fmt::Debug to sync::Weak<T, A> Currently, `sync::Weak<T>` implements `Debug`, but `sync::Weak<T, A>` does not. This appears to be an oversight, as `rc::Weak<T, A>` implements `Debug`. (Note: `sync::Weak` is the weak for `Arc`, and `rc::Weak` is the weak for `Rc`.) This PR adds the Debug trait for `sync::Weak<T, A>`. The issue was initially brought up here: https://github.com/rust-lang/wg-allocators/issues/131 |
||
---|---|---|
.. | ||
benches | ||
src | ||
tests | ||
Cargo.toml |