Skip to content

partialeq_ne_impl lint documentation incorrect #2893

Open
@gnzlbg

Description

@gnzlbg

The documentation for the partialeq_ne_impl states:

Therefore, there should never be any need to re-implement it.

but this is incorrect since re-implementing PartialEq::ne makes often a lot of sense for performance purposes where it can be implemented more efficiently than just !eq.

Metadata

Metadata

Assignees

No one assigned

    Labels

    S-needs-discussionStatus: Needs further discussion before merging or work can be started

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions