cleanup
This commit is contained in:
parent
8fb1e21873
commit
757d0753ad
14 changed files with 146 additions and 2521 deletions
|
|
@ -29,7 +29,6 @@ pub use user_interface::UserInterface;
|
|||
pub use window::Window;
|
||||
|
||||
use crate::futures::futures::channel::oneshot;
|
||||
use dnd::DndAction;
|
||||
|
||||
use std::borrow::Cow;
|
||||
use std::fmt;
|
||||
|
|
@ -70,6 +69,7 @@ pub enum Action<T> {
|
|||
/// This will normally close any application windows and
|
||||
/// terminate the runtime loop.
|
||||
Exit,
|
||||
|
||||
/// Run a Dnd action.
|
||||
Dnd(crate::dnd::DndAction),
|
||||
|
||||
|
|
@ -126,7 +126,7 @@ where
|
|||
Action::PlatformSpecific(action) => {
|
||||
write!(f, "Action::PlatformSpecific({:?})", action)
|
||||
}
|
||||
Action::Dnd(action) => write!(f, "Action::Dnd({:?})", action),
|
||||
Action::Dnd(_) => write!(f, "Action::Dnd"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue