correct for use in earlier releases of rust.

This commit is contained in:
Mark Thom
2018-05-17 13:14:38 -06:00
parent ddb79e6b34
commit c5386c3e88

View File

@@ -1504,8 +1504,8 @@ impl PartialOrd<Ref> for Addr {
},
&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
}