summaryrefslogtreecommitdiffstats
path: root/examples/events.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/events.rs')
-rw-r--r--examples/events.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/events.rs b/examples/events.rs
index 74542171..0c9dca05 100644
--- a/examples/events.rs
+++ b/examples/events.rs
@@ -1,6 +1,6 @@
use iced::{
- Align, Application, Checkbox, Column, Command, Container, Element, Length,
- Settings, Subscription, Text,
+ executor, Align, Application, Checkbox, Column, Command, Container,
+ Element, Length, Settings, Subscription, Text,
};
pub fn main() {
@@ -20,6 +20,7 @@ enum Message {
}
impl Application for Events {
+ type Executor = executor::Default;
type Message = Message;
fn new() -> (Events, Command<Message>) {