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.

small window change

KCaverlye315e1bb6c6f
diff --git a/crates/gpui2/src/window.rs b/crates/gpui2/src/window.rs
index e8c45f0191c..f1d4ff76ac0 100644
--- a/crates/gpui2/src/window.rs
+++ b/crates/gpui2/src/window.rs
@@ -1620,7 +1620,7 @@ impl<'a, 'w, V: 'static> ViewContext<'a, 'w, V> {
) -> Subscription
where
V2: 'static,
- V: Any + Send,
+ V: 'static + Send,
E: Entity<V2>,
{
let view = self.view();