Skip to content

Commit

Permalink
fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Vandesm14 committed Jun 24, 2024
1 parent fed4a8d commit e97106c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions stack-debugger/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ impl DebuggerApp {
.entries()
.get(index)
{
let scope_level = entry.scope;
let scope_level = entry.scope_level;
let next_index = self
.context
.journal()
Expand All @@ -233,7 +233,7 @@ impl DebuggerApp {
.iter()
.enumerate()
.skip(index + 1)
.find(|(i, entry)| entry.scope == scope_level)
.find(|(i, entry)| entry.scope_level == scope_level)
.map(|(i, _)| i);

if let Some(next_index) = next_index {
Expand All @@ -252,7 +252,7 @@ impl DebuggerApp {
.entries()
.get(index)
{
let scope_level = entry.scope;
let scope_level = entry.scope_level;
let next_index = self
.context
.journal()
Expand All @@ -263,7 +263,7 @@ impl DebuggerApp {
.enumerate()
.rev()
.skip(self.stack_ops_len() - index)
.find(|(_, entry)| entry.scope == scope_level)
.find(|(_, entry)| entry.scope_level == scope_level)
.map(|(i, _)| i);

if let Some(next_index) = next_index {
Expand Down

0 comments on commit e97106c

Please sign in to comment.