- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13.9k
Closed
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.
Description
#39002 landed Debug implementations for a number of derived types in collections, but imposes overly strict requirements. For example, for std::collections::hash_map::Keys:
impl<'a, K: Debug, V: Debug> Debug for Keys<'a, K, V> { /* ... */ }Given that only the keys are printed, we should only require K: Debug, not also V: Debug (unless I'm mistaken?).
durka and sfackler
Metadata
Metadata
Assignees
Labels
E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.