2stackz: lint

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

View File

@ -165,12 +165,10 @@ impl NockStack {
} else {
ptr_u64 >= self.alloc_pointer && ptr_u64 < prev
}
} else if prev.is_null() {
ptr_u64 >= self.start && ptr_u64 < self.alloc_pointer
} else {
if prev.is_null() {
ptr_u64 >= self.start && ptr_u64 < self.alloc_pointer
} else {
ptr_u64 >= prev && ptr_u64 < self.alloc_pointer
}
ptr_u64 >= prev && ptr_u64 < self.alloc_pointer
}
}