Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Add pub
Mikayla84f35d4e6b7e
diff --git a/crates/gpui/src/elements/component.rs b/crates/gpui/src/elements/component.rsindex 035637c3774..94b136e8d66 100644--- a/crates/gpui/src/elements/component.rs+++ b/crates/gpui/src/elements/component.rs@@ -63,7 +63,7 @@ pub struct StylableComponentAdapter<C: Component<V>, V: View> {}impl<C: Component<V>, V: View> StylableComponentAdapter<C, V> {- fn new(component: C) -> Self {+ pub fn new(component: C) -> Self {Self {component,phantom: std::marker::PhantomData,