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.

Merge remote-tracking branch 'origin/main' into into-element

Nathan Sobo993dbf86cbf9
diff --cc crates/gpui/src/app.rs
index 175d11e4a42,c53a2f2c24d..8fbf102f38f
--- a/crates/gpui/src/app.rs
+++ b/crates/gpui/src/app.rs
@@@ -69,7 -69,7 +69,7 @@@ pub trait Entity: 'static
pub trait View: Entity + Sized {
fn ui_name() -> &'static str;
- fn render(&mut self, cx: &mut ViewContext<'_, '_, '_, Self>) -> AnyElement<Self>;
- fn render(&mut self, cx: &mut ViewContext<'_, '_, Self>) -> Element<Self>;
++ fn render(&mut self, cx: &mut ViewContext<'_, '_, Self>) -> AnyElement<Self>;
fn focus_in(&mut self, _: AnyViewHandle, _: &mut ViewContext<Self>) {}
fn focus_out(&mut self, _: AnyViewHandle, _: &mut ViewContext<Self>) {}
fn key_down(&mut self, _: &KeyDownEvent, _: &mut ViewContext<Self>) -> bool {