diff --git a/crates/gpui/src/element.rs b/crates/gpui/src/element.rs index c4e70d78852a46355cf4cca981af8a02f5deb83d..6af0474ad50ac8a84f961202b9c70fb9906ec90b 100644 --- a/crates/gpui/src/element.rs +++ b/crates/gpui/src/element.rs @@ -118,7 +118,7 @@ impl FluentBuilder for T {} /// other entities. Views are `Entity`'s which `impl Render` and drawn to the screen. pub trait Render: 'static + Sized { /// Render this view into an element tree. - fn render(&mut self, window: &mut Window, cx: &mut Context<'_, Self>) -> impl IntoElement; + fn render(&mut self, window: &mut Window, cx: &mut Context) -> impl IntoElement; } impl Render for Empty {