Skip to content

Implement PartialEq for Cursor #67226

Closed
@Luro02

Description

@Luro02

I am thinking about something like this

impl<T: PartialEq> PartialEq for Cursor<T> {
    fn eq(&self, other: &Self) -> bool { self.get_ref() == other.get_ref() && self.position() == other.position() }
}

is there a reason why this is not implemented?

Metadata

Metadata

Assignees

No one assigned

    Labels

    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

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions