2stackz: lint

This commit is contained in:
Edward Amsden 2023-12-13 19:53:33 -06:00
parent a98524bfd7
commit f8615b5a4e

View File

@ -165,14 +165,12 @@ impl NockStack {
} else {
ptr_u64 >= self.alloc_pointer && ptr_u64 < prev
}
} else {
if prev.is_null() {
} else if prev.is_null() {
ptr_u64 >= self.start && ptr_u64 < self.alloc_pointer
} else {
ptr_u64 >= prev && ptr_u64 < self.alloc_pointer
}
}
}
/** Mutable pointer to a slot in a stack frame: east stack */
unsafe fn slot_pointer_east(&self, slot: usize) -> *mut u64 {