Skip to content

Commit 0b0d51a

Browse files
authored
ssh-key: derive Hash trait for Fingerprint (#330)
1 parent 3567b94 commit 0b0d51a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ssh-key/src/fingerprint.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ use serde::{de, ser, Deserialize, Serialize};
4343
///
4444
/// When the `serde` feature of this crate is enabled, this type receives impls
4545
/// of [`Deserialize`][`serde::Deserialize`] and [`Serialize`][`serde::Serialize`].
46-
#[derive(Copy, Clone, Debug, Eq, PartialEq, PartialOrd, Ord)]
46+
#[derive(Copy, Clone, Debug, Eq, PartialEq, PartialOrd, Ord, Hash)]
4747
#[non_exhaustive]
4848
pub enum Fingerprint {
4949
/// Fingerprints computed using SHA-256.

0 commit comments

Comments
 (0)