Skip to content

Lint direct calls to deref or deref_mut #1566

Closed
@clarfonthey

Description

@clarfonthey

Instead of calling x.deref() or x.deref_mut(), &*x and &mut *x should be recommended instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsL-styleLint: Belongs in the style lint groupT-middleType: Probably requires verifiying typesgood 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