ethkey eq
This commit is contained in:
parent
73d6666294
commit
fa636d402d
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user