mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-27 19:02:07 +00:00
Fix example compile erorr
This commit is contained in:
parent
84f35d4e6b
commit
4c3227ce2a
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ impl StyleableComponent for () {
|
|||
pub trait Component<V: View> {
|
||||
fn render(self, v: &mut V, cx: &mut ViewContext<V>) -> AnyElement<V>;
|
||||
|
||||
fn into_element(self) -> ComponentAdapter<V, Self>
|
||||
fn element(self) -> ComponentAdapter<V, Self>
|
||||
where
|
||||
Self: Sized,
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue