Remove IntoAnyElement bound from Element trait
This commit is contained in:
parent
db15db45ce
commit
927278e20d
48 changed files with 106 additions and 224 deletions
|
@ -101,7 +101,7 @@ impl<V: 'static + Send + Sync> PaneGroup<V> {
|
|||
}
|
||||
}
|
||||
|
||||
fn render(&mut self, view: &mut V, cx: &mut ViewContext<V>) -> impl Element<V> {
|
||||
fn render(&mut self, view: &mut V, cx: &mut ViewContext<V>) -> impl IntoAnyElement<V> {
|
||||
let theme = theme(cx);
|
||||
|
||||
if !self.panes.is_empty() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue