This commit is contained in:
Antonio Scandurra 2023-04-17 18:52:48 +02:00
parent 38ab6b123f
commit 493a418c91
5 changed files with 19 additions and 6 deletions

View file

@ -823,6 +823,8 @@ mod tests {
}
impl<'a> UpdateView for DockTestContext<'a> {
type Output<S> = S;
fn update_view<T, S>(
&mut self,
handle: &ViewHandle<T>,

View file

@ -467,7 +467,7 @@ impl<T: Item> ItemHandle for ViewHandle<T> {
workspace.project().clone(),
cx,
)
})
})?
.await
.log_err()?;
Some(())