mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-23 18:32:17 +00:00
continue trampoline
This commit is contained in:
parent
317acbf1d7
commit
e3da2e691c
2 changed files with 2 additions and 2 deletions
|
@ -122,7 +122,7 @@ pub fn derive_into_any_element(input: TokenStream) -> TokenStream {
|
|||
#where_clause
|
||||
{
|
||||
fn into_any(self) -> gpui2::AnyElement<ViewState> {
|
||||
#trampoline_name(self).into_any()
|
||||
#trampoline_name::new(self).into_any()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -92,7 +92,7 @@ mod stories {
|
|||
fn render<V>(self, cx: &mut ViewContext<V>) -> impl IntoAnyElement<V> {
|
||||
Story::container(self.0)
|
||||
.child(Story::title_for::<_, AssistantPanel>(self.0))
|
||||
.child(Story::label(self.cx, "Default"))
|
||||
.child(Story::label(cx, "Default"))
|
||||
.child(AssistantPanel::new("assistant-panel"))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue