Skip to content

Lint fn new() -> Self without Default #705

Closed
@mcarton

Description

@mcarton

@vi just suggested to have a lint “for having fn new() -> Self, but not having Default” on IRC.
That’s probably a good idea, but it might trigger a lot, so maybe an Allow lint by default?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions