Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Remove occasionally incorrect expectation (#10358)
Conrad Irwinfc10201ce26e
diff --git a/crates/workspace/src/item.rs b/crates/workspace/src/item.rsindex 9da551c4b63..26b46ea3d32 100644--- a/crates/workspace/src/item.rs+++ b/crates/workspace/src/item.rs@@ -453,9 +453,7 @@ impl<T: Item> ItemHandle for View<T> {}workspace.update(&mut cx, |workspace, cx| {- let item = item.upgrade().expect(- "item to be alive, otherwise task would have been dropped",- );+ let Some(item) = item.upgrade() else { return };workspace.update_followers(is_project_item,proto::update_followers::Variant::UpdateView(