Skip to content

Box<[T]> should have an IntoIter implementation. #59878

Closed
@emilio

Description

@emilio

Right now the only way to move out of a Box<[T]> is using into_vec, which is a bit inconvenient. Is there any reason Box<[T]> shouldn't implement IntoIter?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-iteratorsArea: IteratorsA-maybe-future-editionSomething we may consider for a future edition.C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    Status

    Needs help: Impl

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions