Skip to content

Unnecessary parens could warn on let foo = (bar); #12350

Closed
@alexcrichton

Description

@alexcrichton

Just another case that the unnecessary-parens lint could warn about. I don't think that the parens serve any use in that situation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions