Skip to content

Lint HashMap<T, ZST> where ZST is any zero sized type #1641

Closed
@oli-obk

Description

@oli-obk

The user should be using HashSet<T> instead and magically create the ZSTs out of thin air when needed (since they are all the same value anyway).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsL-unnecessaryLint: Warn about unnecessary codeT-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