From bc21fd00890ab34cd64b85e14b183ea4cd18ca88 Mon Sep 17 00:00:00 2001 From: iximeow Date: Sun, 28 Jul 2019 14:11:15 -0700 Subject: addresses are Hash --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/lib.rs b/src/lib.rs index 50f7d59..c4b31aa 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -49,6 +49,7 @@ pub trait Address where Self: WrappingAdd + WrappingSub + CheckedAdd + CheckedSub + AddrParse + + Hash + identities::One + identities::Zero { fn to_linear(&self) -> usize; @@ -63,6 +64,7 @@ pub trait Address where Self: WrappingAdd + WrappingSub + CheckedAdd + CheckedSub + AddrParse + + Hash + identities::One + identities::Zero { fn to_linear(&self) -> usize; -- cgit v1.1