diff options
author | 2019-08-24 03:55:07 +0200 | |
---|---|---|
committer | 2019-08-24 03:55:07 +0200 | |
commit | 36d18d979ffe713328de901005c8a5a78075357d (patch) | |
tree | d6724bf489e346d0506a8fe58d4464479ae2cd7f /examples | |
parent | ec66e3fc1b6cc0d40025bf94d86263716d18657b (diff) | |
download | iced-36d18d979ffe713328de901005c8a5a78075357d.tar.gz iced-36d18d979ffe713328de901005c8a5a78075357d.tar.bz2 iced-36d18d979ffe713328de901005c8a5a78075357d.zip |
Fix details in documentation
Diffstat (limited to 'examples')
-rw-r--r-- | examples/ggez/main.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/ggez/main.rs b/examples/ggez/main.rs index 11ea6492..75bc3a0d 100644 --- a/examples/ggez/main.rs +++ b/examples/ggez/main.rs @@ -26,10 +26,10 @@ pub fn main() -> ggez::GameResult { struct Game { spritesheet: graphics::Image, + tour: Tour, - cache: Option<iced::Cache>, events: Vec<iced::Event>, - tour: Tour, + cache: Option<iced::Cache>, } impl Game { @@ -38,10 +38,10 @@ impl Game { Ok(Game { spritesheet: graphics::Image::new(context, "/ui.png").unwrap(), + tour: Tour::new(), - cache: Some(iced::Cache::default()), events: Vec::new(), - tour: Tour::new(), + cache: Some(iced::Cache::default()), }) } } |