Skip to content

Commit

Permalink
ssh-key: derive Hash trait for Fingerprint (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusTieger authored Jan 21, 2025
1 parent 3567b94 commit 0b0d51a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssh-key/src/fingerprint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ use serde::{de, ser, Deserialize, Serialize};
///
/// When the `serde` feature of this crate is enabled, this type receives impls
/// of [`Deserialize`][`serde::Deserialize`] and [`Serialize`][`serde::Serialize`].
#[derive(Copy, Clone, Debug, Eq, PartialEq, PartialOrd, Ord)]
#[derive(Copy, Clone, Debug, Eq, PartialEq, PartialOrd, Ord, Hash)]
#[non_exhaustive]
pub enum Fingerprint {
/// Fingerprints computed using SHA-256.
Expand Down

0 comments on commit 0b0d51a

Please sign in to comment.