From edc5961a7969b1510998608f1d927a3c7f425c94 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Sat, 22 Apr 2017 17:38:36 +0100 Subject: [PATCH] hashes: Implement PartialEq on Hash. --- src/hashes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hashes.rs b/src/hashes.rs index 21301633..f9e1e846 100644 --- a/src/hashes.rs +++ b/src/hashes.rs @@ -4,7 +4,7 @@ use error::Error; use ns; -#[derive(Debug, Clone)] +#[derive(Debug, Clone, PartialEq)] pub struct Hash { pub algo: String, pub hash: String,