Skip to content

Lint .flat_map(|x| x) into .flatten() #4224

Closed
@LunaBorowska

Description

@LunaBorowska

Clippy should suggest using .flatten() instead of .flat_map(|x| x).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-lintArea: New lintsL-complexityLint: Belongs in the complexity lint groupL-suggestionLint: Improving, adding or fixing lint suggestionsgood 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