hashes: Implement PartialEq on Hash.

This commit is contained in:
Emmanuel Gil Peyrot 2017-04-22 17:38:36 +01:00
commit edc5961a79

View file

@ -4,7 +4,7 @@ use error::Error;
use ns; use ns;
#[derive(Debug, Clone)] #[derive(Debug, Clone, PartialEq)]
pub struct Hash { pub struct Hash {
pub algo: String, pub algo: String,
pub hash: String, pub hash: String,