From 36d18d979ffe713328de901005c8a5a78075357d Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Sat, 24 Aug 2019 03:55:07 +0200 Subject: Fix details in documentation --- examples/ggez/main.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples') 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, events: Vec, - tour: Tour, + cache: Option, } 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()), }) } } -- cgit