Skip to content

Commit

Permalink
Rollup merge of #129673 - matthewpipie:arc-weak-debug-trait, r=dtolnay
Browse files Browse the repository at this point in the history
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: rust-lang/wg-allocators#131
  • Loading branch information
workingjubilee committed Aug 29, 2024
2 parents 676eb83 + ecb9089 commit c8e4a83
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit c8e4a83

Please sign in to comment.