Removed broken ord implementations

This commit is contained in:
Dennis Schwerdel 2016-07-06 21:29:28 +02:00
parent 0bcdfbe21e
commit 8a239f8e1a
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ pub type NetworkId = u64;
pub type NodeId = [u8; NODE_ID_BYTES];
#[derive(PartialOrd, Eq, Ord, Clone, Copy)]
#[derive(Eq, Clone, Copy)]
pub struct Address {
pub data: [u8; 16],
pub len: u8
@ -130,7 +130,7 @@ impl FromStr for Address {
}
#[derive(PartialEq, PartialOrd, Eq, Ord, Hash, Clone, Copy)]
#[derive(PartialEq, Eq, Hash, Clone, Copy)]
pub struct Range {
pub base: Address,
pub prefix_len: u8