Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Align return of close_active_item to match original format
Mikayla Makiaa2af53f5609
diff --git a/crates/workspace/src/pane.rs b/crates/workspace/src/pane.rsindex 089618ea205..a120523131a 100644--- a/crates/workspace/src/pane.rs+++ b/crates/workspace/src/pane.rs@@ -787,7 +787,7 @@ impl Pane {let pane = pane_handle.read(cx);if pane.items.is_empty() {- return Some(Task::Ready(Some(Ok(()))));+ return None;}let active_item_id = pane.items[pane.active_item_index].id();