Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Update StyledExt to impl over I & F as well as V for Div
Nate Butler9bdfc7a2e590
diff --git a/crates/ui2/src/styled_ext.rs b/crates/ui2/src/styled_ext.rsindex 0c674d5c3c2..543781ef526 100644--- a/crates/ui2/src/styled_ext.rs+++ b/crates/ui2/src/styled_ext.rs@@ -1,4 +1,4 @@-use gpui::{Div, Styled};+use gpui::{Div, ElementFocus, ElementInteractivity, Styled};use crate::UITextSize;@@ -66,4 +66,9 @@ pub trait StyledExt: Styled {}}-impl<V: 'static> StyledExt for Div<V> {}+impl<V, I, F> StyledExt for Div<V, I, F>+where+ I: ElementInteractivity<V>,+ F: ElementFocus<V>,+{+}