Skip to content

RFC: Add a matches!(expression, pattern) macro. #264

Closed
@rust-highfive

Description

@rust-highfive

Rendered view: https://github.com/SimonSapin/rfcs/blob/matches-macro/active/0000-matches-macro.md

Please note: This is different from the if let proposal. I believe the two proposals are complementary rather than competing.

Tracking issue for postponed PR #163

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-expressionsTerm language related proposals & ideasA-macros-libstdProposals that introduce new standard library macrosA-patternsPattern matching related proposals & ideasT-langRelevant to the language team, which will review and decide on the RFC.T-libs-apiRelevant to the library API team, which will review and decide on the RFC.postponedRFCs that have been postponed and may be revisited at a later time.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions