summaryrefslogtreecommitdiffstats
path: root/examples/solar_system/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/solar_system/src/main.rs')
-rw-r--r--examples/solar_system/src/main.rs13
1 files changed, 8 insertions, 5 deletions
diff --git a/examples/solar_system/src/main.rs b/examples/solar_system/src/main.rs
index a84e86a3..06098a7c 100644
--- a/examples/solar_system/src/main.rs
+++ b/examples/solar_system/src/main.rs
@@ -22,11 +22,14 @@ use std::time::Instant;
pub fn main() -> iced::Result {
tracing_subscriber::fmt::init();
- iced::sandbox(SolarSystem::update, SolarSystem::view)
- .subscription(SolarSystem::subscription)
- .theme(SolarSystem::theme)
- .title("Solar System - Iced")
- .run()
+ iced::sandbox(
+ "Solar System - Iced",
+ SolarSystem::update,
+ SolarSystem::view,
+ )
+ .subscription(SolarSystem::subscription)
+ .theme(SolarSystem::theme)
+ .run()
}
#[derive(Default)]