8000 Guard types should implement more traits · Issue #24372 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content
Guard types should implement more traits #24372
@huonw

Description

@huonw

Types like std::sync::MutexGuard are semantically just a &mut with a destructor, and so it makes sense for them to implement the same sort of traits, e.g. Display and Debug.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.E-help-wantedCall for participation: Help is requested to fix this issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0