Skip to content

Match a tuple instead of doing nested match. #5

@caycun

Description

@caycun

like match (app.state, event.code)
and then match arms would be (State::Default, KeyCode::Char('q')) => {}

Thanks to TheRoboMan#5720

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions