ethkey eq

This commit is contained in:
NikVolf 2016-10-01 13:04:08 +03:00
parent 73d6666294
commit fa636d402d

View File

@ -62,6 +62,8 @@ macro_rules! impl_primitive {
} }
} }
impl Eq for $name { }
impl PartialOrd for $name { impl PartialOrd for $name {
fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> { fn partial_cmp(&self, other: &Self) -> Option<cmp::Ordering> {
let self_ref: &[u8] = &self.0; let self_ref: &[u8] = &self.0;