Skip to content

der: Ia5String: Hash derive missing? #1971

Description

@bitfl0wer

Glancing at how Ia5String is defined in the der crate

#[derive(Clone, Eq, PartialEq, PartialOrd, Ord)]
pub struct Ia5String {
    /// Inner value
    inner: StrOwned,
}

I do not immediately see a reason for why std::hash::Hash is not implemented or derived for this type. Was this a deliberate decision, or is this something that could be added in a PR? Implementing the Hash trait would seem trivial to me at first glance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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