Remove some todo!'s
This commit is contained in:
parent
aa1d2d2f24
commit
625c9d8980
14 changed files with 18 additions and 211 deletions
|
@ -203,7 +203,6 @@ macro_rules! __impl_action {
|
|||
)
|
||||
}
|
||||
|
||||
// todo!() why is this needed in addition to name?
|
||||
fn debug_name() -> &'static str
|
||||
where
|
||||
Self: ::std::marker::Sized
|
||||
|
|
|
@ -467,12 +467,11 @@ impl<V> View<V> {
|
|||
}
|
||||
}
|
||||
|
||||
// todo!(start_waiting)
|
||||
// cx.borrow().foreground_executor().start_waiting();
|
||||
cx.borrow().background_executor().start_waiting();
|
||||
rx.recv()
|
||||
.await
|
||||
.expect("view dropped with pending condition");
|
||||
// cx.borrow().foreground_executor().finish_waiting();
|
||||
cx.borrow().background_executor().finish_waiting();
|
||||
}
|
||||
})
|
||||
.await
|
||||
|
|
|
@ -14,8 +14,8 @@ pub struct Overlay {
|
|||
children: SmallVec<[AnyElement; 2]>,
|
||||
anchor_corner: AnchorCorner,
|
||||
fit_mode: OverlayFitMode,
|
||||
// todo!();
|
||||
anchor_position: Option<Point<Pixels>>,
|
||||
// todo!();
|
||||
// position_mode: OverlayPositionMode,
|
||||
}
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ impl PlatformDisplay for TestDisplay {
|
|||
}
|
||||
|
||||
fn as_any(&self) -> &dyn std::any::Any {
|
||||
todo!()
|
||||
unimplemented!()
|
||||
}
|
||||
|
||||
fn bounds(&self) -> crate::Bounds<crate::GlobalPixels> {
|
||||
|
|
|
@ -103,7 +103,6 @@ impl TestPlatform {
|
|||
}
|
||||
}
|
||||
|
||||
// todo!("implement out what our tests needed in GPUI 1")
|
||||
impl Platform for TestPlatform {
|
||||
fn background_executor(&self) -> BackgroundExecutor {
|
||||
self.background_executor.clone()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue