summaryrefslogtreecommitdiffstats
path: root/examples/toast/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/toast/src/main.rs')
-rw-r--r--examples/toast/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/toast/src/main.rs b/examples/toast/src/main.rs
index aee2479e..232133b1 100644
--- a/examples/toast/src/main.rs
+++ b/examples/toast/src/main.rs
@@ -9,7 +9,7 @@ use iced::{Alignment, Element, Length, Subscription, Task};
use toast::{Status, Toast};
pub fn main() -> iced::Result {
- iced::program("Toast - Iced", App::update, App::view)
+ iced::application("Toast - Iced", App::update, App::view)
.subscription(App::subscription)
.run()
}