small window change

KCaverly created

Change summary

crates/gpui2/src/window.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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();