summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-08-24 03:55:07 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-08-24 03:55:07 +0200
commit36d18d979ffe713328de901005c8a5a78075357d (patch)
treed6724bf489e346d0506a8fe58d4464479ae2cd7f /examples
parentec66e3fc1b6cc0d40025bf94d86263716d18657b (diff)
downloadiced-36d18d979ffe713328de901005c8a5a78075357d.tar.gz
iced-36d18d979ffe713328de901005c8a5a78075357d.tar.bz2
iced-36d18d979ffe713328de901005c8a5a78075357d.zip
Fix details in documentation
Diffstat (limited to 'examples')
-rw-r--r--examples/ggez/main.rs8
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()),
})
}
}