Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix compile error (use of moved value)
Piotr Osiewicz5f7fdd25eb98
diff --git a/crates/collab_ui/src/collab_titlebar_item.rs b/crates/collab_ui/src/collab_titlebar_item.rsindex cffdb2a18fa..405eb20decd 100644--- a/crates/collab_ui/src/collab_titlebar_item.rs+++ b/crates/collab_ui/src/collab_titlebar_item.rs@@ -78,6 +78,7 @@ impl View for CollabTitlebarItem {let user = self.user_store.read(cx).current_user();let peer_id = self.client.peer_id();if let Some(((user, peer_id), room)) = user+ .as_ref().zip(peer_id).zip(ActiveCall::global(cx).read(cx).room().cloned()){