Skip to content

Use Option.map() instead of match { Some(x) => ..., None => None } #6

Closed
@pythonesque

Description

@pythonesque

We can do this whenever there is no unusual flow in the first branch, which I think shouldn't be too difficult to detect.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.L-styleLint: Belongs in the style lint groupT-ASTType: Requires working with the AST

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions