aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
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;