Skip to content

Tracking issue for iter_order stabilization #27737

Closed
@aturon

Description

@aturon

The iter module has an order submodule for performing comparisons on iterators. Ideally, these would instead just be implementations of e.g. the PartialOrd trait, but that trait passes by shared reference, and iterators must be mutated to be compared.

It'd be good to explore this design space, and perhaps write an RFC, before stabilization.

cc @bluss

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-unstableBlocker: Implemented in the nightly compiler and unstable.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions