correct for use in earlier releases of rust.
@@ -1504,8 +1504,8 @@ fn partial_cmp(&self, r: &Ref) -> Option<Ordering> {
},
&Addr::HeapCell(h) =>
match r {
- Ref::StackCell(..) => Some(Ordering::Less),
- Ref::HeapCell(h1) => h.partial_cmp(h1)
+ &Ref::StackCell(..) => Some(Ordering::Less),
+ &Ref::HeapCell(h1) => h.partial_cmp(&h1)
},
_ => None
}
