Skip to content

Implement PartialEq and Eq for Deque #520

Closed
@hicklin

Description

@hicklin

Currently, Deque does not implement the PartialEq and Eq traits. This hinders structures that contain a Deque from being able to derive PartialEq and Eq. Equally, it requires library consumers to implement their own comparison algorithm. This algorithm can be implemented once in the library, improving the useability of the Deque.

The same algorithm used for the standard VecDeque could be implemented here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions