Skip to content

Commit

Permalink
interpreter: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
eamsden committed Sep 28, 2023
1 parent 2db74f9 commit 2ded720
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rust/ares/src/mem.rs
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,8 @@ impl NockStack {
}) as usize;
let (low, hi) = if ap > sp { (sp, ap) } else { (ap, sp) };
if ((ptr as usize) < low && (ptr.add(count) as usize) <= low)
|| ((ptr as usize) >= hi && (ptr.add(count) as usize) > hi) {
|| ((ptr as usize) >= hi && (ptr.add(count) as usize) > hi)
{
return;
}
panic!(
Expand Down

0 comments on commit 2ded720

Please sign in to comment.