Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

debugger: Fix rerun last debug scenario (#64856)

Meiram Shunshalinf8b0d52b3ef2
diff --git a/crates/project/src/task_inventory.rs b/crates/project/src/task_inventory.rs
index af48841b26c..75363e9d4b6 100644
--- a/crates/project/src/task_inventory.rs
+++ b/crates/project/src/task_inventory.rs
@@ -328,7 +328,7 @@ impl Inventory {
}
pub fn last_scheduled_scenario(&self) -> Option<&(DebugScenario, DebugScenarioContext)> {
- self.last_scheduled_scenarios.back()
+ self.last_scheduled_scenarios.front()
}
pub fn list_debug_scenarios(