Skip to content

Deprecate flatten #262

Closed
Closed
@clarfonthey

Description

@clarfonthey

This is slated to be added to libstd via rust-lang/rust#48213 and it may be useful to just deprecate this method on itertools now to help push people into adopting it. In the meantime, I think that suggesting .flat_map(|x| x) is a reasonable alternative, even if it's not the most performant.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions