Skip to content

ptr_arg false positives #2293

Closed
Closed
@clarfonthey

Description

@clarfonthey

Currently, impls on String and Vec will fire this lint, especially the ones in the standard library. This shouldn't fire if the methods are for &self, just when the type is used explicitly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: Clippy is not doing the correct thinggood first issueThese issues are a good way to get started with Clippy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions