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 debug scenario picker showing history in reverse order (#38452)

Anthony Eide3e0522e32d5
diff --git a/crates/project/src/task_inventory.rs b/crates/project/src/task_inventory.rs
index 4d85c8f2622..da6d87ac702 100644
--- a/crates/project/src/task_inventory.rs
+++ b/crates/project/src/task_inventory.rs
@@ -258,7 +258,7 @@ impl Inventory {
) {
self.last_scheduled_scenarios
.retain(|(s, _)| s.label != scenario.label);
- self.last_scheduled_scenarios.push_back((
+ self.last_scheduled_scenarios.push_front((
scenario,
DebugScenarioContext {
task_context,