Skip to content

VecDeque<T> should implement PartialEq with &[T] #38625

Closed
@Mark-Simulacrum

Description

@Mark-Simulacrum

I believe this is definitely possible (comparing the iterators of each), and I suspect that there's a more efficient method as well.

See this documentation PR where it simplifies the code: https://github.com/rust-lang/rust/pull/38581/files#diff-266e22074e3b36596081857cbf5b1513R1256.

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