Skip to content

[1.0] Remove some trait impls #171

@tgross35

Description

@tgross35

Pattern is currently PartialEq, PartialOrd, Eq, Hash, and Ord. I don't think any of those make sense, it's a compiled representation. We should match https://docs.rs/regex/latest/regex/struct.Regex.html# here and drop these.

It's possible for the user to wrap with a type that implements traits based on .as_str() if they really need this behavior.

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