diff options
author | iximeow <me@iximeow.net> | 2019-07-28 14:11:15 -0700 |
---|---|---|
committer | iximeow <me@iximeow.net> | 2020-01-12 16:26:39 -0800 |
commit | bc21fd00890ab34cd64b85e14b183ea4cd18ca88 (patch) | |
tree | 8d01063dc64521a2ff159da899d76d3641644aec /src/lib.rs | |
parent | c4264230ba7d6b321ee07b033bee1b00b0f7f68c (diff) |
addresses are Hash
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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; |