Skip to content

edition lint: prefer '_ to lifetime elision in types #52041

Closed
@nrc

Description

@nrc

E.g., use Ref<'_, T> rather than Ref<T>

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-edition-2018Area: The 2018 editionA-lintsArea: Lints (warnings about flaws in source code) such as unused_mut.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions